build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. apply plugin: 'com.android.library'
  2. //apply plugin: 'com.novoda.bintray-release'
  3. apply plugin: 'maven'
  4. def version = '1.1.0'
  5. android {
  6. compileSdkVersion 27
  7. defaultConfig {
  8. minSdkVersion 14
  9. targetSdkVersion 27
  10. versionCode 8
  11. versionName version
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. //sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
  20. }
  21. uploadArchives {
  22. repositories{
  23. mavenDeployer {
  24. //url 'https://repo.rdc.aliyun.com/repository/84103-release-wrxD8V/'
  25. repository(url:"https://repo.rdc.aliyun.com/repository/84521-release-D7jNC2/") {
  26. authentication(userName:"icYZUR", password:"Xgk5Pc7PcV")
  27. }
  28. // 以com.android.support:appcompat-v7:25.1.0为对比
  29. pom.version="1.0.0" // 对应版本号 25.1.0
  30. pom.artifactId="wheelpicker" // 对应 appcompat-v7
  31. pom.groupId="com.airsmart.lib" // com.android.support
  32. }
  33. }
  34. }
  35. /*publish {
  36. userOrg = 'aigestudio'
  37. groupId = 'cn.aigestudio.wheelpicker'
  38. artifactId = "WheelPicker"
  39. publishVersion = "${version}"
  40. desc = 'Simple and fantastic wheel view in realistic effect for android.'
  41. website = 'https://github.com/AigeStudio/WheelPicker'
  42. }*/
  43. dependencies {
  44. //implementation 'com.google.code.gson:gson:2.8.2'
  45. }