Bubble android client. Fork of https://git.zx2c4.com/wireguard-android/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

77 rindas
2.3 KiB

  1. apply plugin: 'com.github.dcendents.android-maven'
  2. apply plugin: 'com.jfrog.bintray'
  3. install {
  4. repositories.mavenInstaller {
  5. pom.project {
  6. name 'WireGuard Tunnel Library'
  7. description 'Embeddable tunnel library for WireGuard for Android'
  8. url 'https://www.wireguard.com/'
  9. packaging 'aar'
  10. groupId groupName
  11. artifactId 'tunnel'
  12. version wireguardVersionName
  13. licenses {
  14. license {
  15. name 'The Apache Software License, Version 2.0'
  16. url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
  17. distribution 'repo'
  18. }
  19. }
  20. scm {
  21. connection 'scm:git:https://git.zx2c4.com/wireguard-android'
  22. url 'https://git.zx2c4.com/wireguard-android'
  23. }
  24. organization {
  25. name 'WireGuard'
  26. url 'https://www.wireguard.com/'
  27. }
  28. }
  29. }
  30. }
  31. bintray {
  32. user = hasProperty('BINTRAY_USER') ? getProperty('BINTRAY_USER') : System.getenv('BINTRAY_USER')
  33. key = hasProperty('BINTRAY_KEY') ? getProperty('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
  34. configurations = [ 'archives' ]
  35. pkg {
  36. repo = 'wireguard-android'
  37. name = 'wireguard-android'
  38. userOrg = 'wireguard'
  39. licenses = [ 'Apache-2.0' ]
  40. vcsUrl = 'https://git.zx2c4.com/wireguard-android'
  41. publish = true
  42. version {
  43. name = wireguardVersionName
  44. }
  45. }
  46. }
  47. android.libraryVariants.all { variant ->
  48. if (variant.name == 'release') {
  49. task javadoc(type: Javadoc) {
  50. source = variant.javaCompileProvider.get().source
  51. classpath = files((android.bootClasspath.join(File.pathSeparator)))
  52. classpath += variant.javaCompileProvider.get().classpath
  53. title = 'Embeddable WireGuard Tunnel for Android v$wireguardVersionName'
  54. }
  55. task javadocJar(type: Jar, dependsOn: javadoc) {
  56. archiveClassifier = 'javadoc'
  57. from javadoc.destinationDir
  58. }
  59. task sourcesJar(type: Jar) {
  60. archiveClassifier = 'sources'
  61. from android.sourceSets.main.java.srcDirs
  62. }
  63. artifacts {
  64. archives sourcesJar
  65. archives javadocJar
  66. }
  67. }
  68. }