mainTemplate.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. compileSdkVersion 30
  10. buildToolsVersion '**BUILDTOOLS**'
  11. compileOptions {
  12. sourceCompatibility JavaVersion.VERSION_1_8
  13. targetCompatibility JavaVersion.VERSION_1_8
  14. }
  15. defaultConfig {
  16. minSdkVersion **MINSDKVERSION**
  17. targetSdkVersion **TARGETSDKVERSION**
  18. ndk {
  19. abiFilters **ABIFILTERS**
  20. }
  21. versionCode **VERSIONCODE**
  22. versionName '**VERSIONNAME**'
  23. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  24. }
  25. lintOptions {
  26. abortOnError false
  27. }
  28. aaptOptions {
  29. noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
  30. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  31. }**PACKAGING_OPTIONS**
  32. }**REPOSITORIES**
  33. **IL_CPP_BUILD_SETUP**
  34. **SOURCE_BUILD_SETUP**
  35. **EXTERNAL_SOURCES**