学习机 新
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.

63 lines
1.8KB

  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.5.31'
  4. repositories {
  5. maven {
  6. maven { url 'https://maven.aliyun.com/repository/releases' }
  7. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  8. maven { url 'https://maven.aliyun.com/repository/google' }
  9. maven { url 'https://maven.aliyun.com/repository/central' }
  10. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  11. maven { url 'https://developer.huawei.com/repo/' }
  12. url "https://maven.aliyun.com/nexus/content/repositories/releases/"
  13. }
  14. google()
  15. mavenCentral()
  16. gradlePluginPortal()
  17. }
  18. dependencies {
  19. classpath 'com.android.tools.build:gradle:4.2.1'
  20. classpath 'com.google.gms:google-services:4.3.10'
  21. classpath 'com.kezong:fat-aar:1.2.17'
  22. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  23. // NOTE: Do not place your application dependencies here; they belong
  24. // in the individual module build.gradle files
  25. }
  26. }
  27. allprojects {
  28. repositories {
  29. maven {
  30. url "https://maven.aliyun.com/nexus/content/repositories/releases/"
  31. }
  32. google()
  33. jcenter()
  34. }
  35. }
  36. subprojects {
  37. tasks.withType(Javadoc).all { enabled = false }
  38. }
  39. ext {
  40. compileSdkVersion = 30
  41. minSdkVersion = 19
  42. targetSdkVersion = 30
  43. versionCode = 1
  44. versionName = "7.1.3925"
  45. abiFilters = ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
  46. //['armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
  47. arguments = "-DANDROID_STL=c++_static"
  48. cppFlags = "-std=c++11"
  49. }
  50. task clean(type: Delete) {
  51. delete rootProject.buildDir
  52. }