build.gradle 932 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.novoda.bintray-release'
  3. android {
  4. compileSdkVersion 25
  5. defaultConfig {
  6. minSdkVersion 15
  7. targetSdkVersion 25
  8. versionCode 1
  9. versionName "1.0"
  10. }
  11. lintOptions {
  12. abortOnError false
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(include: ['*.jar'], dir: 'libs')
  23. implementation 'com.android.support:support-annotations:27.0.1'
  24. }
  25. publish {
  26. userOrg = "${USER_ORG}"
  27. groupId = "${GROUP_ID}"
  28. artifactId = "${ARTIFACT_ID}"
  29. publishVersion = "${PUBLISH_VERSION}"
  30. desc = 'Oh hi, this is a nice view of loading animation, right?'//描述,不重要
  31. website = 'https://github.com/zyao89/ZCustomView'//网站,不重要;
  32. }