gradle-6.6.1 对应版本配置参数-android studio

复制代码
gradle-6.6.1-bin
复制代码
#Tue Nov 19 01:59:21 CST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
复制代码
plugins {
    id 'com.android.application'
}

android {
    compileSdkVersion 30
    buildToolsVersion "30.0.3"

    defaultConfig {
        applicationId "rrrrrrrrrrrry"
        minSdkVersion 16
        targetSdkVersion 30
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {

    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'com.google.android.material:material:1.1.0'
    //2024-11-19 testImplementation 'junit:junit:4.+'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation files('D:\\MyWork\\android\\CyberWinOSAnd\\app\\libs\\com.google.zxing_core-3.3.3.jar')
    implementation files('D:\\MyWork\\AndroidStudio\\cyber_libs_alipay\\fastjson-1.1.45.jar')
    //implementation files('D:\\MyWork\\AndroidStudio\\cyber_libs_alipay\\httpclient-4.2.5.jar')
   // implementation files('D:\\MyWork\\AndroidStudio\\cyber_libs_alipay\\httpcore-4.4.13.jar')

   // implementation files('D:\\MyWork\\AndroidStudio\\cyber_libs_alipay\\httpclient5-cache-5.0.jar')
   // implementation files('D:\\MyWork\\AndroidStudio\\cyber_libs_alipay\\httpmime-4.5.12.jar')
  //  implementation files('libs/PosPrinterSdk.jar')
}
复制代码
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
       google()
        jcenter()
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://maven.aliyun.com/repository/central' }
    }
    dependencies {
       // classpath "com.android.tools.build:gradle:4.1.1"
        //classpath "com.android.tools.build:gradle:4.0.2"
       // classpath "com.android.tools.build:gradle:3.3.2"
       // classpath "com.android.tools.build:gradle:3.6.3"
        classpath "com.android.tools.build:gradle:4.1.1"


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
       google()
        jcenter()
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://maven.aliyun.com/repository/central' }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
相关推荐
zxb@hny6 小时前
vscode命令面板输入 CMake:build不执行提示输入
c++·ide·vscode
莫名有雪7 小时前
BUUCTF_[网鼎杯 2020 朱雀组]phpweb(反序列化绕过命令)
android
爱写代码的山山10 小时前
虚幻UE5手机安卓Android Studio开发设置2025
android·ue5·虚幻
dal118网工任子仪11 小时前
94,【2】buuctf web [安洵杯 2019]easy_serialize_php
android·前端·php
Kevin Coding14 小时前
Flutter使用Flavor实现切换环境和多渠道打包
android·flutter·ios
yashunan14 小时前
Web_php_unserialize
android·前端·php
taopi202416 小时前
android java系统弹窗的基础模板
android·java·开发语言
志尊宝16 小时前
深入探索 Android 技术:从基础到前沿
android
字节全栈_BjO17 小时前
mysql死锁排查_mysql 死锁问题排查
android·数据库·mysql
maply1 天前
VSCode 中的 Git Graph扩展使用详解
ide·git·vscode·编辑器·扩展