build.gradle 825 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion COMPILE_SDK_VERSION
  4. buildToolsVersion BUILD_TOOLS_VERSION
  5. defaultConfig {
  6. minSdkVersion MIN_SDK_VERSION
  7. targetSdkVersion TARGET_SDK_VERSION
  8. }
  9. buildTypes {
  10. mytest {
  11. }
  12. }
  13. lintOptions {
  14. abortOnError false
  15. }
  16. sourceSets {
  17. main {
  18. jniLibs.srcDirs = ['libs']
  19. }
  20. }
  21. }
  22. dependencies {
  23. api fileTree(include: ['*.jar'], dir: 'libs')
  24. }
  25. apply plugin: 'maven'
  26. uploadArchives {
  27. repositories {
  28. mavenDeployer {
  29. repository(url: "file://localhost/" + System.getenv("ANDROID_HOME") + "/extras/android/m2repository/")
  30. pom.version = '1.0'
  31. pom.groupId = 'com.moka.module'
  32. pom.artifactId = 'push'
  33. }
  34. }
  35. }