// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } 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" } } } 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" }