@@ -3,11 +3,14 @@ plugins {
33 id(" org.jetbrains.kotlin.jvm" ) version(" 1.3.72" )
44 id(" maven-publish" )
55 id(" com.jfrog.bintray" ) version (" 1.8.5" )
6- id(" com.github.ben-manes.versions" ) version (" 0.28 .0" )
6+ id(" com.github.ben-manes.versions" ) version (" 0.29 .0" )
77}
88
9- group = " com.github.hauner.openapi"
10- version = " 1.0.0.M4"
9+ val projectGroupId: String by project
10+ val projectVersion: String by project
11+
12+ group = projectGroupId
13+ version = projectVersion
1114
1215tasks.compileKotlin {
1316 kotlinOptions.jvmTarget = " 1.8"
@@ -16,12 +19,12 @@ tasks.compileKotlin {
1619repositories {
1720 mavenCentral()
1821 maven {
19- setUrl(" https://dl.bintray.com/hauner/ openapi-processor" )
22+ setUrl(" https://dl.bintray.com/openapi-processor/primary " )
2023 }
2124}
2225
2326project.ext {
24- set(" processorApiVersion" , " 1.0.0.M4 " )
27+ set(" processorApiVersion" , " 1.1.0 " )
2528
2629 set(" bintrayUser" , project.findProperty(" BINTRAY_USER" ) ? : " n/a" )
2730 set(" bintrayKey" , project.findProperty(" BINTRAY_KEY" ) ? : " n/a" )
@@ -30,13 +33,13 @@ project.ext {
3033dependencies {
3134 implementation(kotlin(" stdlib-jdk8" ))
3235
33- implementation(" io.swagger.parser.v3:swagger-parser:2.0.19 " ) {
36+ implementation(" io.swagger.parser.v3:swagger-parser:2.0.20 " ) {
3437 exclude(group = " io.swagger.parser.v3" , module = " swagger-parser-v2-converter" )
3538 exclude(group = " io.swagger.core.v3" , module = " swagger-annotations" )
3639 }
37- compileOnly(" com.github.hauner.openapi :openapi-processor-api:${project.ext.get(" processorApiVersion" )} " )
40+ compileOnly(" io.openapiprocessor :openapi-processor-api:${project.ext.get(" processorApiVersion" )} " )
3841
39- testImplementation(" net.bytebuddy:byte-buddy:1.10.10 " )
42+ testImplementation(" net.bytebuddy:byte-buddy:1.10.13 " )
4043 testImplementation(" org.spockframework:spock-core:1.3-groovy-2.5" ) {
4144 exclude(group = " org.codehaus.groovy" , module = " groovy-json" )
4245 exclude(group = " org.codehaus.groovy" , module = " groovy-macro" )
@@ -45,7 +48,7 @@ dependencies {
4548 exclude(group = " org.codehaus.groovy" , module = " groovy-xml" )
4649 }
4750 testImplementation(" io.github.java-diff-utils:java-diff-utils:4.7" )
48- testImplementation(" com.github.hauner.openapi :openapi-processor-api:${project.ext.get(" processorApiVersion" )} " )
51+ testImplementation(" io.openapiprocessor :openapi-processor-api:${project.ext.get(" processorApiVersion" )} " )
4952}
5053
5154tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
@@ -80,11 +83,11 @@ bintray {
8083 setPublications(" processor" )
8184
8285 pkg.apply {
83- repo = " openapi-processor "
86+ repo = " primary "
8487 name = " openapi-processor-json"
85- // userOrg = ' openapi-generatr'
88+ userOrg = " openapi-processor "
8689 setLicenses(" Apache-2.0" )
87- vcsUrl = " https://github.com/hauner /openapi-processor-json"
90+ vcsUrl = " https://github.com/openapi-processor /openapi-processor-json"
8891
8992 version.apply {
9093 name = project.version.toString()
0 commit comments