client_Hale
2018-09-20 c7b997b879d62b86d27ab753e84e5dfdf46d1d9b
3646 【前端】思璞游戏SDK接入, 安卓gradle配置文件提交
1个文件已添加
68 ■■■■■ 已修改文件
GradleDiff/spxjgame/mainTemplate.gradle 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GradleDiff/spxjgame/mainTemplate.gradle
New file
@@ -0,0 +1,68 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }
}
allprojects {
   repositories {
      flatDir {
        dirs 'libs'
      }
   }
    repositories {
        mavenCentral()
        jcenter()
    }
}
apply plugin: 'com.android.application'
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.squareup.okhttp3:okhttp:3.9.1'
    compile 'com.google.code.gson:gson:2.8.1'
    compile 'org.greenrobot:greendao:3.2.2'
    compile 'org.freemarker:freemarker-gae:2.3.23'
**DEPS**}
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '**BUILDTOOLS**'
    defaultConfig {
        targetSdkVersion 22
        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**
        }
    }
}