// 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/nexus/content/repositories/releases/" } } dependencies { classpath 'com.android.tools.build:gradle:7.4.1' //classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.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://jitpack.io" } maven { url "https://maven.aliyun.com/nexus/content/repositories/releases/" } } } task clean(type: Delete) { delete rootProject.buildDir } ext { // 统一版本入口 //App版本号 versionCode = 1 versionName = "1.0.0" // 支持Android版本 buildToolsVersion = "33.0.0" minSdkVersion = 23 targetSdkVersion = 33 compileSdkVersion = 33 // 支持包 supportVersion = "28.0.0" //butterknife = "8.8.1" butterknife = "10.0.0" // 炒锅 // 设置applicationId(这里很重要,两个相同applicationId的apk不同同时安装在同一台Android手机中) //applicationId="com.bonait.bnframework" // 奶茶机 // 设置applicationId(这里很重要,两个相同applicationId的apk不同同时安装在同一台Android手机中) applicationId= "com.bonait.ncj" // 调味吧 // 设置applicationId(这里很重要,两个相同applicationId的apk不同同时安装在同一台Android手机中) // applicationId= "com.bonait.twb" }