File tree 5 files changed +21
-29
lines changed
openapigenerator-gradle-plugin
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
+
1
3
plugins {
2
4
`maven- publish`
3
- kotlin(" multiplatform" ) version " 1.6.10 " apply false
5
+ kotlin(" multiplatform" ) version " 1.6.20 " apply false
4
6
}
5
7
6
8
allprojects {
@@ -10,4 +12,10 @@ allprojects {
10
12
repositories {
11
13
mavenCentral()
12
14
}
15
+
16
+ tasks {
17
+ withType<KotlinCompile > {
18
+ kotlinOptions.jvmTarget = " 11"
19
+ }
20
+ }
13
21
}
Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ plugins {
6
6
val githubRepo = " jakobkmar/kotlin-openapi-generator"
7
7
8
8
publishing {
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
+
9
17
publications.withType<MavenPublication > {
10
18
pom {
11
19
description.set(project.description)
Original file line number Diff line number Diff line change 1
- version = " 0.1.1 "
1
+ version = " 0.1.2 "
2
2
3
3
plugins {
4
4
`java- gradle- plugin`
@@ -11,7 +11,7 @@ plugins {
11
11
dependencies {
12
12
implementation(gradleKotlinDsl())
13
13
14
- implementation(" net.axay:openapigenerator-jvm:0.0.1 " )
14
+ implementation(" net.axay:openapigenerator-jvm:0.0.2 " )
15
15
implementation(" com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.2" )
16
16
}
17
17
@@ -33,14 +33,6 @@ gradlePlugin {
33
33
}
34
34
35
35
publishing {
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
-
44
36
publications.withType<MavenPublication > {
45
37
pom {
46
38
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"
4
2
5
3
plugins {
6
4
kotlin(" multiplatform" )
@@ -27,25 +25,11 @@ kotlin {
27
25
}
28
26
}
29
27
30
- tasks {
31
- withType<KotlinCompile > {
32
- kotlinOptions.jvmTarget = " 11"
33
- }
34
- }
35
-
36
28
val stubJavadocJar by tasks.registering(Jar ::class ) {
37
29
archiveClassifier.set(" javadoc" )
38
30
}
39
31
40
32
publishing {
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
-
49
33
publications {
50
34
register<MavenPublication >(project.name) {
51
35
this .groupId = project.group.toString()
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencyResolutionManagement {
6
6
library(" kotlinx-serialization-json" , " org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2" )
7
7
8
8
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 " )
10
10
}
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments