No more kapt

This commit is contained in:
Him188 2020-09-08 15:51:45 +08:00
parent 048a10cc50
commit 7638a7e759
2 changed files with 7 additions and 9 deletions

View File

@ -6,7 +6,6 @@ import java.time.Instant
plugins {
kotlin("jvm")
kotlin("plugin.serialization")
kotlin("kapt")
id("java")
`maven-publish`
id("com.jfrog.bintray")
@ -81,9 +80,9 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.2.0")
val autoService = "1.0-rc7"
kapt("com.google.auto.service", "auto-service", autoService)
compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
// val autoService = "1.0-rc7"
// kapt("com.google.auto.service", "auto-service", autoService)
// compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
}
ext.apply {

View File

@ -1,7 +1,6 @@
plugins {
kotlin("jvm")
kotlin("plugin.serialization")
kotlin("kapt")
id("java")
`maven-publish`
id("com.jfrog.bintray")
@ -46,10 +45,10 @@ dependencies {
testApi(project(":mirai-console"))
val autoService = "1.0-rc7"
kapt("com.google.auto.service", "auto-service", autoService)
compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
testCompileOnly("com.google.auto.service", "auto-service-annotations", autoService)
// val autoService = "1.0-rc7"
// kapt("com.google.auto.service", "auto-service", autoService)
// compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
// testCompileOnly("com.google.auto.service", "auto-service-annotations", autoService)
}
ext.apply {