@@ -6,8 +6,11 @@ plugins {
66 id(" com.github.ben-manes.versions" ) version (" 0.28.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" )
@@ -34,7 +37,7 @@ dependencies {
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
3942 testImplementation(" net.bytebuddy:byte-buddy:1.10.10" )
4043 testImplementation(" org.spockframework:spock-core:1.3-groovy-2.5" ) {
@@ -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