mainTemplate.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. implementation 'androidx.appcompat:appcompat:1.3.1'
  7. implementation 'com.google.android.gms:play-services-vision:20.1.3'
  8. implementation 'com.google.android.material:material:1.4.0'
  9. implementation 'com.google.protobuf:protobuf-javalite:3.19.4'
  10. **DEPS**}
  11. android {
  12. compileSdkVersion **APIVERSION**
  13. buildToolsVersion '**BUILDTOOLS**'
  14. compileOptions {
  15. sourceCompatibility JavaVersion.VERSION_1_8
  16. targetCompatibility JavaVersion.VERSION_1_8
  17. }
  18. defaultConfig {
  19. minSdkVersion **MINSDKVERSION**
  20. targetSdkVersion **TARGETSDKVERSION**
  21. ndk {
  22. abiFilters **ABIFILTERS**
  23. }
  24. versionCode **VERSIONCODE**
  25. versionName '**VERSIONNAME**'
  26. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  27. }
  28. lintOptions {
  29. abortOnError false
  30. }
  31. aaptOptions {
  32. noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
  33. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  34. }**PACKAGING_OPTIONS**
  35. }**REPOSITORIES**
  36. **IL_CPP_BUILD_SETUP**
  37. **SOURCE_BUILD_SETUP**
  38. **EXTERNAL_SOURCES**