@@ -2,8 +2,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
22import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
44plugins {
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 " )
77 id(" com.vanniktech.maven.publish" ) version(" 0.23.1" )
88 `maven- publish`
99 signing
@@ -30,28 +30,18 @@ val autoService = "1.0.1"
3030dependencies {
3131 compileOnly(" com.google.auto.service:auto-service:$autoService " )
3232 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 " )
3434 testImplementation(" dev.zacsweers.kctfork:core:0.2.1" )
3535 testImplementation(" junit:junit:4.13.2" )
3636 testImplementation(" com.google.truth:truth:1.1.3" )
3737 testImplementation(kotlin(" reflect" ))
3838
3939}
4040
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-
5041publishing {
5142 publications {
5243 create<MavenPublication >(" default" ) {
5344 from(components[" java" ])
54- artifact(tasks[" sourcesJar" ])
5545
5646 pom {
5747 name.set(" compiler-plugin" )
@@ -102,7 +92,7 @@ publishing {
10292
10393java {
10494 toolchain {
105- languageVersion.set(JavaLanguageVersion .of(11 ))
95+ languageVersion.set(JavaLanguageVersion .of(8 ))
10696 }
10797}
10898
0 commit comments