Няма описание

build.gradle 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.library'
  2. //apply plugin: 'com.github.dcendents.android-maven'
  3. //apply plugin: 'com.novoda.bintray-release'//添加JCenter插件
  4. android {
  5. compileSdkVersion 28
  6. buildToolsVersion "28.0.3"
  7. defaultConfig {
  8. minSdkVersion 16
  9. targetSdkVersion 28
  10. versionCode 31
  11. versionName "4.1.6"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. lintOptions {
  20. abortOnError false
  21. }
  22. }
  23. allprojects {
  24. tasks.withType(Javadoc) {//兼容中文字符
  25. options{
  26. encoding "UTF-8"
  27. charSet 'UTF-8'
  28. links "http://docs.oracle.com/javase/7/docs/api"
  29. }
  30. }
  31. }
  32. //publish {
  33. // userOrg = 'contrarywind'//bintray.com 用户名/组织名 user/org name
  34. // groupId = 'com.contrarywind'//JCenter上显示的路径 path
  35. // artifactId = 'Android-PickerView'//项目名称 project name
  36. // publishVersion = '4.1.6'//版本号 version code
  37. // desc = 'this is a pickerview for android'//项目描述 description
  38. // website = 'https://github.com/Bigkoo/Android-PickerView' //项目网址链接 link
  39. //}
  40. dependencies {
  41. implementation fileTree(include: ['*.jar'], dir: 'libs')
  42. implementation project(path: ':wheelview_library')
  43. }