File tree Expand file tree Collapse file tree 5 files changed +21
-29
lines changed
openapigenerator-gradle-plugin Expand file tree Collapse file tree 5 files changed +21
-29
lines changed Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
13plugins {
24 `maven- publish`
3- kotlin(" multiplatform" ) version " 1.6.10 " apply false
5+ kotlin(" multiplatform" ) version " 1.6.20 " apply false
46}
57
68allprojects {
@@ -10,4 +12,10 @@ allprojects {
1012 repositories {
1113 mavenCentral()
1214 }
15+
16+ tasks {
17+ withType<KotlinCompile > {
18+ kotlinOptions.jvmTarget = " 11"
19+ }
20+ }
1321}
Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ plugins {
66val githubRepo = " jakobkmar/kotlin-openapi-generator"
77
88publishing {
9+ repositories {
10+ maven {
11+ name = " ossrh"
12+ credentials(PasswordCredentials ::class )
13+ setUrl(" https://oss.sonatype.org/service/local/staging/deploy/maven2" )
14+ }
15+ }
16+
917 publications.withType<MavenPublication > {
1018 pom {
1119 description.set(project.description)
Original file line number Diff line number Diff line change 1- version = " 0.1.1 "
1+ version = " 0.1.2 "
22
33plugins {
44 `java- gradle- plugin`
@@ -11,7 +11,7 @@ plugins {
1111dependencies {
1212 implementation(gradleKotlinDsl())
1313
14- implementation(" net.axay:openapigenerator-jvm:0.0.1 " )
14+ implementation(" net.axay:openapigenerator-jvm:0.0.2 " )
1515 implementation(" com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.2" )
1616}
1717
@@ -33,14 +33,6 @@ gradlePlugin {
3333}
3434
3535publishing {
36- repositories {
37- maven {
38- name = " ossrh"
39- credentials(PasswordCredentials ::class )
40- setUrl(" https://oss.sonatype.org/service/local/staging/deploy/maven2" )
41- }
42- }
43-
4436 publications.withType<MavenPublication > {
4537 pom {
4638 name.set(" Kotlin OpenAPI Generator Gradle Plugin" )
Original file line number Diff line number Diff line change 1- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2-
3- version = " 0.0.1"
1+ version = " 0.0.2"
42
53plugins {
64 kotlin(" multiplatform" )
@@ -27,25 +25,11 @@ kotlin {
2725 }
2826}
2927
30- tasks {
31- withType<KotlinCompile > {
32- kotlinOptions.jvmTarget = " 11"
33- }
34- }
35-
3628val stubJavadocJar by tasks.registering(Jar ::class ) {
3729 archiveClassifier.set(" javadoc" )
3830}
3931
4032publishing {
41- repositories {
42- maven {
43- name = " ossrh"
44- credentials(PasswordCredentials ::class )
45- setUrl(" https://oss.sonatype.org/service/local/staging/deploy/maven2" )
46- }
47- }
48-
4933 publications {
5034 register<MavenPublication >(project.name) {
5135 this .groupId = project.group.toString()
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencyResolutionManagement {
66 library(" kotlinx-serialization-json" , " org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2" )
77
88 library(" okio" , " com.squareup.okio:okio:3.0.0" )
9- library(" kotlinpoet" , " com.squareup:kotlinpoet:1.10.2 " )
9+ library(" kotlinpoet" , " com.squareup:kotlinpoet:1.11.0 " )
1010 }
1111 }
1212}
You can’t perform that action at this time.
0 commit comments