config.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ext {
  2. // publishScript = 'https://raw.githubusercontent.com/yanzhenjie/GradleToMaven/master/publish.gradle'
  3. publishScript = 'https://raw.fastgit.org/yanzhenjie/GradleToMaven/master/publish.gradle'
  4. plugin = [
  5. javaLibrary : 'java-library',
  6. javaPlugin : 'java-gradle-plugin',
  7. android : 'com.android.application',
  8. androidLibrary: 'com.android.library',
  9. andServer : 'com.yanzhenjie.andserver'
  10. ]
  11. androidBuild = [
  12. applicationId : 'com.yanzhenjie.andserver.sample',
  13. compileSdkVersion : 30,
  14. libraryMinSdkVersion : 9,
  15. libraryTargetSdkVersion: 30,
  16. sampleMinSdkVersion : 19,
  17. sampleTargetSdkVersion : 30
  18. ]
  19. deps = [
  20. android: [
  21. plugin : 'com.android.tools.build:gradle:3.6.3',
  22. annotation: 'androidx.annotation:annotation:1.1.0',
  23. compat : 'androidx.appcompat:appcompat:1.1.0',
  24. material : 'com.google.android.material:material:1.1.0',
  25. ],
  26. apache : [
  27. lang : 'org.apache.commons:commons-lang3:3.12.0',
  28. collections: 'org.apache.commons:commons-collections4:4.4',
  29. httpcore : "com.yanzhenjie.apache:httpcore:4.4.16",
  30. fileupload : "com.yanzhenjie.apache:fileupload:1.4",
  31. ],
  32. poet : 'com.squareup:javapoet:1.12.1',
  33. loading: 'com.yanzhenjie:loading:1.0.0',
  34. json : 'com.alibaba:fastjson:1.1.71.android'
  35. ]
  36. }