@@ -3,15 +3,14 @@ plugins {
33 id ' groovy'
44 id ' java-library'
55 id ' maven-publish'
6- id ' com.jfrog.bintray' version ' 1.8.5'
76 id ' org.jetbrains.kotlin.jvm' version ' 1.3.72'
87 id ' org.jetbrains.dokka' version ' 0.10.1'
98 id ' org.unbroken-dome.test-sets' version ' 3.0.1'
109 id " com.github.ben-manes.versions" version " 0.28.0"
1110}
1211
13- group ' com.github.hauner.openapi '
14- version ' 1.0.0.M14 '
12+ group projectGroupId
13+ version projectVersion
1514
1615java {
1716 sourceCompatibility = JavaVersion . VERSION_1_8
@@ -34,8 +33,25 @@ repositories {
3433 maven {
3534 url " https://oss.sonatype.org/content/repositories/snapshots"
3635 }
36+
37+ maven {
38+ url " https://dl.bintray.com/openapi-processor/primary"
39+ content {
40+ includeGroup " io.openapiprocessor"
41+ }
42+ mavenContent {
43+ releasesOnly()
44+ }
45+ }
46+
3747 maven {
38- setUrl(" https://dl.bintray.com/openapi-processor/primary" )
48+ url " https://oss.jfrog.org/artifactory/oss-snapshot-local"
49+ content {
50+ includeGroup " io.openapiprocessor"
51+ }
52+ mavenContent {
53+ snapshotsOnly()
54+ }
3955 }
4056}
4157
@@ -69,14 +85,14 @@ dependencies {
6985 components. all(KotlinPlatformRule )
7086
7187 compileOnly " io.openapiprocessor:openapi-processor-api:$processorApiVersion "
72- implementation ' io.openapiprocessor:openapi-processor-core:1.0.0.M1 '
88+ implementation ' io.openapiprocessor:openapi-processor-core:1.0.0.M3-SNAPSHOT '
7389
7490 implementation ' org.codehaus.groovy:groovy:2.5.12'
7591 implementation ' org.slf4j:slf4j-api:1.7.30'
7692
7793 testImplementation (" io.openapiprocessor:openapi-processor-api:$processorApiVersion " )
7894
79- testImplementation (' io.openapiprocessor:openapi-processor-test:1.0.0.M1' ) {
95+ testImplementation (' io.openapiprocessor:openapi-processor-test:1.0.0.M1-SNAPSHOT ' ) {
8096 exclude group : ' com.google.guava'
8197 }
8298
@@ -140,36 +156,4 @@ dokka {
140156 outputDirectory = " $buildDir /docs/kotlin"
141157}
142158
143-
144- bintray {
145- user = bintrayUser
146- key = bintrayKey
147- publications = [' processor' ]
148-
149- pkg {
150- repo = ' openapi-processor'
151- name = ' openapi-processor-spring'
152- // userOrg = 'openapi-generatr'
153- licenses = [' Apache-2.0' ]
154- vcsUrl = ' https://github.com/hauner/openapi-processor-spring'
155-
156- version {
157- name = project. version
158- }
159- }
160- }
161-
162-
163- publishing {
164- publications {
165- processor (MavenPublication ) {
166- from components. java
167- artifact sourcesJar
168- artifact javadocJar
169-
170- groupId project. group
171- artifactId project. name
172- version project. version
173- }
174- }
175- }
159+ apply from : " ${ rootProject.rootDir} /gradle/publishing.gradle"
0 commit comments