|
1 | | -buildscript { repositories { jcenter() } } |
| 1 | +buildscript { |
| 2 | + repositories { |
| 3 | + jcenter() |
| 4 | + mavenCentral() |
| 5 | + } |
| 6 | + |
| 7 | + dependencies { |
| 8 | + classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2' |
| 9 | + classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.30' |
| 10 | + } |
| 11 | +} |
| 12 | + |
2 | 13 | plugins { |
3 | 14 | id 'java' |
4 | 15 | id 'jacoco' |
5 | 16 | id 'org.jetbrains.kotlin.jvm' version '1.3.31' |
6 | | - id 'nebula.project' version '6.0.3' |
7 | | - id "nebula.maven-publish" version '9.5.4' |
8 | | - id 'nebula.nebula-bintray' version '5.0.0' |
9 | 17 | } |
10 | 18 |
|
| 19 | +ext { |
| 20 | + RELEASE_REPOSITORY_URL = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" |
| 21 | + SNAPSHOT_REPOSITORY_URL = "https://s01.oss.sonatype.org/content/repositories/snapshots/" |
| 22 | +} |
| 23 | + |
| 24 | +apply plugin: "org.jetbrains.dokka" |
| 25 | +apply plugin: "com.vanniktech.maven.publish" |
| 26 | + |
11 | 27 | group 'com.github.dsrees' |
12 | 28 | version '0.3.4' |
13 | 29 |
|
14 | 30 | sourceCompatibility = 1.8 |
15 | 31 |
|
16 | 32 | repositories { |
| 33 | + jcenter() |
17 | 34 | mavenCentral() |
18 | 35 | } |
19 | 36 |
|
@@ -49,32 +66,10 @@ jacocoTestReport { |
49 | 66 | } |
50 | 67 | } |
51 | 68 |
|
52 | | - |
53 | | - |
54 | 69 | compileKotlin { |
55 | 70 | kotlinOptions.jvmTarget = "1.8" |
56 | 71 | } |
57 | 72 | compileTestKotlin { |
58 | 73 | kotlinOptions.jvmTarget = "1.8" |
59 | 74 | } |
60 | 75 |
|
61 | | -bintray { |
62 | | - user = System.getenv('bintrayUser') |
63 | | - key = System.getenv('bintrayApiKey') |
64 | | - dryRun = false |
65 | | - publish = true |
66 | | - pkg { |
67 | | - repo = 'java-phoenix-client' |
68 | | - name = 'JavaPhoenixClient' |
69 | | - userOrg = user |
70 | | - websiteUrl = 'https://github.com/dsrees/JavaPhoenixClient' |
71 | | - issueTrackerUrl = 'https://github.com/dsrees/JavaPhoenixClient/issues' |
72 | | - vcsUrl = 'https://github.com/dsrees/JavaPhoenixClient.git' |
73 | | - licenses = ['MIT'] |
74 | | - version { |
75 | | - name = project.version |
76 | | - vcsTag = project.version |
77 | | - } |
78 | | - } |
79 | | - publications = ['nebula'] |
80 | | -} |
0 commit comments