配料系统
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.
 
 
 

65 line
1.9 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. mavenCentral()
  11. maven { url "https://maven.aliyun.com/repository/google" }
  12. maven { url "https://maven.aliyun.com/repository/public" }
  13. maven { url "https://maven.aliyun.com/nexus/content/repositories/releases/" }
  14. maven { url "https://maven.aliyun.com/repository/jcenter" }
  15. maven { url 'https://www.jitpack.io' }
  16. maven { url 'https://jitpack.io' }
  17. }
  18. dependencies {
  19. classpath 'com.android.tools.build:gradle:7.4.1'
  20. classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
  21. }
  22. }
  23. allprojects {
  24. repositories {
  25. google()
  26. jcenter()
  27. maven { url "https://maven.aliyun.com/repository/google" }
  28. maven { url "https://maven.aliyun.com/repository/public" }
  29. maven { url "https://maven.aliyun.com/nexus/content/repositories/releases/"}
  30. maven { url "https://maven.aliyun.com/repository/jcenter" }
  31. maven { url 'https://www.jitpack.io' }
  32. maven { url 'https://jitpack.io' }
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }
  38. ext { // 统一版本入口
  39. //App版本号
  40. versionCode = 101
  41. versionName = "1.0.1"
  42. // 支持Android版本
  43. buildToolsVersion = "33.0.0"
  44. minSdkVersion = 23
  45. targetSdkVersion = 33
  46. compileSdkVersion = 33
  47. // 支持包
  48. supportVersion = "28.0.0"
  49. //butterknife = "8.8.1"
  50. butterknife = "10.0.0"
  51. //设置applicationId(这里很重要,两个相同applicationId的apk不同同时安装在同一台Android手机中)
  52. applicationId= "com.bonait.yteccj"
  53. }