frameworks_module.gradle 447 B

12345678910111213141516171819202122
  1. apply from: "$scriptPath/android_library.gradle"
  2. String srcDir = "Code"
  3. try {
  4. srcDir = "${codePath}"
  5. } catch (Exception ignore) {
  6. }
  7. android {
  8. sourceSets {
  9. main {
  10. res.srcDirs = ["$srcDir/res"]
  11. java.srcDir "$srcDir/src"
  12. aidl.srcDir "$srcDir/src"
  13. }
  14. }
  15. compileOptions {
  16. sourceCompatibility JavaVersion.VERSION_1_8
  17. targetCompatibility JavaVersion.VERSION_1_8
  18. }
  19. }