build.gradle 636 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. buildscript {
  2. repositories {
  3. google()
  4. jcenter()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:3.5.3'
  8. }
  9. }
  10. apply plugin: 'android-library'
  11. dependencies {
  12. implementation fileTree(dir: 'bin', include: ['*.jar'])
  13. implementation fileTree(dir: 'libs', include: ['*.jar'])
  14. }
  15. android {
  16. sourceSets {
  17. main {
  18. manifest.srcFile 'AndroidManifest.xml'
  19. //java.srcDirs = ['src']
  20. res.srcDirs = ['res']
  21. assets.srcDirs = ['assets']
  22. jniLibs.srcDirs = ['libs']
  23. }
  24. }
  25. compileSdkVersion 30
  26. buildToolsVersion '30.0.2'
  27. defaultConfig {
  28. targetSdkVersion 30
  29. }
  30. lintOptions {
  31. abortOnError false
  32. }
  33. }