Skip to content

Commit 053af60

Browse files
committed
update to Kotlin 1.6.20
1 parent 74a2dd7 commit 053af60

File tree

6 files changed

+28
-46
lines changed

6 files changed

+28
-46
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![jCenter](https://img.shields.io/badge/Apache-2.0-green.svg
55
)](https://github.com/Foso/KotlinReactNativeMpp/blob/master/LICENSE)
66
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
7-
[![jCenter](https://img.shields.io/badge/Kotlin-1.6.10-green.svg
7+
[![jCenter](https://img.shields.io/badge/Kotlin-1.6.20-green.svg
88
)](https://github.com/Foso/Sheasy/blob/master/LICENSE)
99

1010

buildSrc/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
2-
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
2+
id 'org.jetbrains.kotlin.jvm' version '1.6.20'
33
}
4-
apply plugin: "maven"
54

65
allprojects {
76
repositories {

buildSrc/compiler-plugin/gradle-plugin/build.gradle

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@ plugins {
55
id("maven-publish")
66

77
}
8-
apply plugin: "maven"
98

109

1110
group = "de.jensklingenberg"
1211
archivesBaseName = "compiler.gradleplugin.helloworld"
1312
version = "1.0.0"
1413

1514

16-
install {
17-
repositories.mavenInstaller {
18-
pom.artifactId = archivesBaseName
19-
}
20-
}
2115

2216
gradlePlugin {
2317
plugins {
@@ -35,15 +29,15 @@ dependencies {
3529

3630
publishing {
3731
publications {
32+
maven(MavenPublication) {
33+
groupId = 'de.jensklingenberg'
34+
artifactId = 'compiler.gradleplugin.helloworld'
35+
version = '0.0.1'
36+
37+
from components.java
38+
}
3839
}
3940
repositories {
40-
maven {
41-
name = "MyRepo" // optional target repository name
42-
url = "http://my.org.server/repo/url"
43-
credentials {
44-
username = 'alice'
45-
password = 'my-password'
46-
}
47-
}
41+
4842
}
4943
}

buildSrc/compiler-plugin/kotlin-native-plugin/build.gradle

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
plugins {
2-
id("maven")
32
id("maven-publish")
43

54
id "org.jetbrains.kotlin.jvm"
@@ -11,11 +10,6 @@ group = "de.jensklingenberg"
1110
archivesBaseName = "helloworld-compiler-plugin-native"
1211
version = "0.0.1"
1312

14-
install {
15-
repositories.mavenInstaller {
16-
pom.artifactId = archivesBaseName
17-
}
18-
}
1913

2014
repositories {
2115
mavenLocal()
@@ -36,15 +30,15 @@ compileTestKotlin {
3630

3731
publishing {
3832
publications {
33+
maven(MavenPublication) {
34+
groupId = 'de.jensklingenberg'
35+
artifactId = 'helloworld-compiler-plugin-native'
36+
version = '0.0.1'
37+
38+
from components.java
39+
}
3940
}
4041
repositories {
41-
maven {
42-
name = "MyRepo" // optional target repository name
43-
url = "http://my.org.server/repo/url"
44-
credentials {
45-
username = 'alice'
46-
password = 'my-password'
47-
}
48-
}
42+
4943
}
5044
}

buildSrc/compiler-plugin/kotlin-plugin/build.gradle

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("maven")
2+
33
id 'org.jetbrains.kotlin.jvm'
44
id "org.jetbrains.kotlin.kapt"
55
id("maven-publish")
@@ -10,11 +10,6 @@ group = "de.jensklingenberg"
1010
archivesBaseName = "helloworld-compiler-plugin"
1111
version = "0.0.1"
1212

13-
install {
14-
repositories.mavenInstaller {
15-
pom.artifactId = archivesBaseName
16-
}
17-
}
1813

1914
repositories {
2015
mavenLocal()
@@ -37,15 +32,15 @@ compileTestKotlin {
3732

3833
publishing {
3934
publications {
35+
maven(MavenPublication) {
36+
groupId = 'de.jensklingenberg'
37+
artifactId = 'helloworld-compiler-plugin'
38+
version = '0.0.1'
39+
40+
from components.java
41+
}
4042
}
4143
repositories {
42-
maven {
43-
name = "MyRepo" // optional target repository name
44-
url = "http://my.org.server/repo/url"
45-
credentials {
46-
username = 'alice'
47-
password = 'my-password'
48-
}
49-
}
44+
5045
}
5146
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip

0 commit comments

Comments
 (0)