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
}
相关推荐
慢一点会很快1 小时前
【FFmpeg】介绍+安装+VisualStudio配置FFMpeg库
ide·ffmpeg·visual studio
后端码匠6 小时前
MySQL 8.0安装(压缩包方式)
android·mysql·adb
梓仁沐白7 小时前
Android清单文件
android
董可伦10 小时前
Dinky 安装部署并配置提交 Flink Yarn 任务
android·adb·flink
每次的天空10 小时前
Android学习总结之Glide自定义三级缓存(面试篇)
android·学习·glide
恋猫de小郭11 小时前
如何查看项目是否支持最新 Android 16K Page Size 一文汇总
android·开发语言·javascript·kotlin
LuXi_foryou12 小时前
错误: 程序包org.junit不存在 import org.junit.Test;
junit·android studio
flying robot12 小时前
小结:Android系统架构
android·系统架构
xiaogai_gai12 小时前
有效的聚水潭数据集成到MySQL案例
android·数据库·mysql
鹅鹅鹅呢13 小时前
mysql 登录报错:ERROR 1045(28000):Access denied for user ‘root‘@‘localhost‘ (using password Yes)
android·数据库·mysql