@@ -2,8 +2,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
2
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
3
4
4
plugins {
5
- kotlin(" jvm" ) version(" 1.8.22 " )
6
- kotlin(" kapt" ) version(" 1.8.22 " )
5
+ kotlin(" jvm" ) version(" 1.9.10 " )
6
+ kotlin(" kapt" ) version(" 1.9.10 " )
7
7
id(" com.vanniktech.maven.publish" ) version(" 0.23.1" )
8
8
`maven- publish`
9
9
signing
@@ -30,28 +30,18 @@ val autoService = "1.0.1"
30
30
dependencies {
31
31
compileOnly(" com.google.auto.service:auto-service:$autoService " )
32
32
kapt(" com.google.auto.service:auto-service:$autoService " )
33
- compileOnly(" org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.22 " )
33
+ compileOnly(" org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.10 " )
34
34
testImplementation(" dev.zacsweers.kctfork:core:0.2.1" )
35
35
testImplementation(" junit:junit:4.13.2" )
36
36
testImplementation(" com.google.truth:truth:1.1.3" )
37
37
testImplementation(kotlin(" reflect" ))
38
38
39
39
}
40
40
41
- tasks.register(" sourcesJar" , Jar ::class ) {
42
- group = " build"
43
- description = " Assembles Kotlin sources"
44
-
45
- archiveClassifier.set(" sources" )
46
- from(sourceSets.main.get().allSource)
47
- dependsOn(tasks.classes)
48
- }
49
-
50
41
publishing {
51
42
publications {
52
43
create<MavenPublication >(" default" ) {
53
44
from(components[" java" ])
54
- artifact(tasks[" sourcesJar" ])
55
45
56
46
pom {
57
47
name.set(" compiler-plugin" )
@@ -102,7 +92,7 @@ publishing {
102
92
103
93
java {
104
94
toolchain {
105
- languageVersion.set(JavaLanguageVersion .of(11 ))
95
+ languageVersion.set(JavaLanguageVersion .of(8 ))
106
96
}
107
97
}
108
98
0 commit comments