|
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
-
- buildscript {
-
- ext.kotlin_version = '1.5.31'
-
- repositories {
- maven {
- maven { url 'https://maven.aliyun.com/repository/releases' }
- maven { url 'https://maven.aliyun.com/repository/jcenter' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/central' }
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://developer.huawei.com/repo/' }
- url "https://maven.aliyun.com/nexus/content/repositories/releases/"
- }
- google()
- mavenCentral()
- gradlePluginPortal()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:4.2.1'
- classpath 'com.google.gms:google-services:4.3.10'
- classpath 'com.kezong:fat-aar:1.2.17'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
-
- allprojects {
- repositories {
- maven {
- url "https://maven.aliyun.com/nexus/content/repositories/releases/"
- }
-
- google()
- jcenter()
- }
- }
-
- subprojects {
- tasks.withType(Javadoc).all { enabled = false }
- }
-
- ext {
- compileSdkVersion = 30
- minSdkVersion = 19
- targetSdkVersion = 30
- versionCode = 1
- versionName = "7.1.3925"
- abiFilters = ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
- //['armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
- arguments = "-DANDROID_STL=c++_static"
- cppFlags = "-std=c++11"
- }
-
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|