build.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apply plugin: 'com.android.library'
  2. def VERSION_NAME = "2.1.2"
  3. ext {
  4. bintrayRepo = 'maven'
  5. bintrayName = 'indicatorseekbar'
  6. publishedGroupId = 'com.github.warkiz.widget'
  7. libraryName = 'IndicatorSeekbar'
  8. artifact = 'indicatorseekbar'
  9. libraryDescription = 'A custom SeekBar on Android, which can be changed the size ,color , thumb drawable , tick drawable , tick text and isb_indicator , also , will show an isb_indicator view with progress above SeekBar when seeking. '
  10. siteUrl = 'https://github.com/warkiz/IndicatorSeekBar'
  11. gitUrl = 'https://github.com/warkiz/IndicatorSeekBar.git'
  12. libraryVersion = VERSION_NAME
  13. developerId = 'warkiz'
  14. developerName = 'Guangquan Chuang'
  15. developerEmail = 'warkiz4j@gmail.com'
  16. licenseName = 'The Apache Software License, Version 2.0'
  17. licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
  18. allLicenses = ["Apache-2.0"]
  19. }
  20. android {
  21. compileSdkVersion rootProject.ext.compileSdkVersion
  22. buildToolsVersion rootProject.ext.buildToolsVersion
  23. defaultConfig {
  24. minSdkVersion rootProject.ext.minSdkVersion
  25. targetSdkVersion rootProject.ext.targetSdkVersion
  26. versionCode 3
  27. versionName VERSION_NAME
  28. }
  29. buildTypes {
  30. release {
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  33. }
  34. }
  35. }
  36. dependencies {
  37. compileOnly 'com.android.support:appcompat-v7:28.0.0'
  38. }