hch
2022-02-14 d5bd0010d19053a40f96d385a3b5cd80e46b3a71
0312 QKBT1ZF
1个文件已添加
59 ■■■■■ 已修改文件
GradleDiff/qkbt1zf/mainTemplate.gradle 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GradleDiff/qkbt1zf/mainTemplate.gradle
New file
@@ -0,0 +1,59 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }
}
allprojects {
   repositories {
      flatDir {
        dirs 'libs'
      }
   }
}
apply plugin: 'com.android.application'
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
**DEPS**}
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '**BUILDTOOLS**'
    defaultConfig {
        targetSdkVersion 26
        applicationId '**APPLICATIONID**'
        ndk {
            abiFilters **ABIFILTERS**
        }
    }
    lintOptions {
        abortOnError false
    }
    aaptOptions {
        noCompress '.unity3d', '.ress', '.resource', '.obb'
    }
**SIGN**
    buildTypes {
        debug {
            jniDebuggable true
        }
        release {
            // Set minifyEnabled to true if you want to run ProGuard on your project
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
            **SIGNCONFIG**
        }
    }
}