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
}
相关推荐
Yang-Never12 分钟前
ADB ->Android 实时监控内存
android·开发语言·adb·android studio
一见33 分钟前
vscode等的“Go Team at Google”插件
ide·vscode·golang
zhangren0246835 分钟前
Laravel5.x版本特性全解析
android·vue.js·spring boot·mysql
2501_9159184135 分钟前
WebKit 抓包,WKWebView 请求的完整数据获取方法
android·前端·ios·小程序·uni-app·iphone·webkit
EasyControl移动设备管理38 分钟前
打破系统壁垒:从 Android 到 macOS,打造全平台统一终端管理(MDM)方案
android·人工智能·物联网·macos·移动设备管理·mdm系统·跨区域设备
帅得不敢出门38 分钟前
Android Framework中调用由java编译成的jar接口
android·java·framework·jar
火山上的企鹅1 小时前
QGC 二次开发实战:Android 单机离线授权怎么落地
android·qt·qgroundconrol·离线授权
黄林晴1 小时前
Swift 杀进 Android,Google 和 Apple 都要失眠了?
android·前端·swift
黄林晴1 小时前
改完代码1秒生效,Compose热重载来了!
android
黄林晴1 小时前
紧急适配!Android 联系人权限重构,READ_CONTACTS 全面废弃
android