配料系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

61 lines
1.5 KiB

  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. //plugins {
  3. // alias(libs.plugins.androidApplication) apply false
  4. //}
  5. //最新版的Android studio已经将配置转移到settings.gradle文件中了,要正常编译的话需要将多余的项注释掉
  6. buildscript {
  7. repositories {
  8. google()
  9. jcenter()
  10. maven {
  11. url "https://maven.aliyun.com/nexus/content/repositories/releases/"
  12. }
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:7.4.1'
  16. //classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  24. jcenter()
  25. maven { url "https://jitpack.io" }
  26. maven {
  27. url "https://maven.aliyun.com/nexus/content/repositories/releases/"
  28. }
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }
  34. ext { // 统一版本入口
  35. //App版本号
  36. versionCode = 101
  37. versionName = "1.0.1"
  38. // 支持Android版本
  39. buildToolsVersion = "33.0.0"
  40. minSdkVersion = 23
  41. targetSdkVersion = 33
  42. compileSdkVersion = 33
  43. // 支持包
  44. supportVersion = "28.0.0"
  45. //butterknife = "8.8.1"
  46. butterknife = "10.0.0"
  47. //设置applicationId(这里很重要,两个相同applicationId的apk不同同时安装在同一台Android手机中)
  48. applicationId= "com.bonait.yteccj"
  49. }