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
}
相关推荐
我最厉害。,。33 分钟前
XSS 跨站&SVG&PDF&Flash&MXSS&UXSS&配合上传&文件添加脚本
android·pdf·xss
小狗爱吃黄桃罐头1 小时前
同时打开多个Microchip MPLAB X IDE
ide·microchip·maplab x ide
界面开发小八哥2 小时前
支持iOS与Android!SciChart开源金融图表库助力高效开发交易应用
android·ios·数据分析·数据可视化·图表工具·scichart
WWWWW2 小时前
理解VSync-4-应用申请与接收VSync(上)
android·源码阅读
WWWWW2 小时前
理解VSync-3-应用添加链接
android·源码阅读
_一条咸鱼_3 小时前
Android大厂面试秘籍:Activity 启动与任务栈管理原理
android·面试·kotlin
V少年3 小时前
深入浅出安卓ANR(应用无响应)全解析
android
V少年4 小时前
深入浅出安卓内存泄漏与优化
android
V少年4 小时前
深入浅出分析内存与CPU不足导致的ANR问题
android
_一条咸鱼_4 小时前
Android 大厂面试秘籍:Activity 生命周期原理详解
android·面试·android jetpack