// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN buildscript { ext.kotlin_version = "1.4.20" repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.4.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "com.tencent.bugly:tinker-support:+" } } allprojects { repositories { google() jcenter() flatDir { dirs 'libs' } } } apply plugin: 'com.android.application' apply from: 'tinker-support.gradle' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "com.android.support:multidex:1.0.3" implementation "com.tencent.bugly:nativecrashreport:latest.release" implementation "com.tencent.bugly:crashreport_upgrade:latest.release" implementation "com.tencent.tinker:tinker-android-lib:latest.release" implementation "androidx.appcompat:appcompat:1.3.1" implementation 'androidx.core:core-ktx:1.6.0' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation "com.squareup.okhttp3:okhttp:4.9.0" implementation "io.coil-kt:coil:1.3.2" implementation(name: 'sdklibrary-release', ext:'aar') implementation project(':unity-android-resources') } android { compileSdkVersion 30 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { minSdkVersion 22 targetSdkVersion 30 applicationId 'com.ouj.dance' ndk { abiFilters 'armeabi-v7a' } versionCode 103 versionName '1.1.3' multiDexEnabled true } android.applicationVariants.all { variant -> variant.outputs.all { output -> def outputFile = output.outputFile def releaseTime = new Date().format("yyyyMMddHHmmss") if (outputFile != null && outputFile.name.endsWith('.apk')) { outputFileName = "KeepDancing" + "_" + defaultConfig.versionName + "_" + releaseTime + "_" + output.baseName + ".apk" } } } lintOptions { abortOnError false } aaptOptions { noCompress = ['.unity3d', '.ress', '.resource', '.obb', 'null.txt'] ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" } signingConfigs { release { storeFile file("signed.jks") storePassword "111111" keyAlias "OUJ_SHOES" keyPassword "111111" } } buildTypes { debug { minifyEnabled false useProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt', 'proguard-user.txt' signingConfig signingConfigs.release jniDebuggable true } release { minifyEnabled false useProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt', 'proguard-user.txt' signingConfig signingConfigs.release } } packagingOptions { doNotStrip '*/armeabi-v7a/*.so' doNotStrip '*/x86/*.so' } bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } } }