mainTemplate.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2. apply plugin: 'com.android.library'
  3. **APPLY_PLUGINS**
  4. dependencies {
  5. implementation fileTree(dir: 'libs', include: ['*.jar'])
  6. **DEPS**}
  7. android {
  8. compileSdkVersion **APIVERSION**
  9. buildToolsVersion '**BUILDTOOLS**'
  10. compileOptions {
  11. sourceCompatibility JavaVersion.VERSION_1_8
  12. targetCompatibility JavaVersion.VERSION_1_8
  13. }
  14. defaultConfig {
  15. minSdkVersion **MINSDKVERSION**
  16. targetSdkVersion **TARGETSDKVERSION**
  17. ndk {
  18. abiFilters **ABIFILTERS**
  19. }
  20. versionCode **VERSIONCODE**
  21. versionName '**VERSIONNAME**'
  22. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  23. }
  24. lintOptions {
  25. abortOnError false
  26. }
  27. aaptOptions {
  28. noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
  29. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  30. }**PACKAGING_OPTIONS**
  31. }**REPOSITORIES**
  32. **IL_CPP_BUILD_SETUP**
  33. **SOURCE_BUILD_SETUP**
  34. **EXTERNAL_SOURCES**