mainTemplate.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.library'
  2. **APPLY_PLUGINS**
  3. dependencies {
  4. implementation fileTree(dir: 'libs', include: ['*.jar'])
  5. //ºËÐÄÒÀÀµ
  6. implementation 'com.rokid.uxrplugin:rkuxrplugin:2.3.7'
  7. //ÓïÒôʶ±ðÒÀÀµ
  8. implementation("com.rokid.axr:glassvoice-phone:1.3.0")
  9. **DEPS**}
  10. android {
  11. compileSdkVersion **APIVERSION**
  12. buildToolsVersion '**BUILDTOOLS**'
  13. compileOptions {
  14. sourceCompatibility JavaVersion.VERSION_1_8
  15. targetCompatibility JavaVersion.VERSION_1_8
  16. }
  17. defaultConfig {
  18. minSdkVersion **MINSDKVERSION**
  19. targetSdkVersion **TARGETSDKVERSION**
  20. ndk {
  21. abiFilters **ABIFILTERS**
  22. }
  23. versionCode **VERSIONCODE**
  24. versionName '**VERSIONNAME**'
  25. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  26. }
  27. lintOptions {
  28. abortOnError false
  29. }
  30. aaptOptions {
  31. noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
  32. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  33. }**PACKAGING_OPTIONS**
  34. }**REPOSITORIES**
  35. **IL_CPP_BUILD_SETUP**
  36. **SOURCE_BUILD_SETUP**
  37. **EXTERNAL_SOURCES**