mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
No more kapt
This commit is contained in:
parent
048a10cc50
commit
7638a7e759
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user