mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 00:30:17 +08:00
No more kapt
This commit is contained in:
parent
048a10cc50
commit
7638a7e759
@ -6,7 +6,6 @@ import java.time.Instant
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
kotlin("plugin.serialization")
|
kotlin("plugin.serialization")
|
||||||
kotlin("kapt")
|
|
||||||
id("java")
|
id("java")
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
id("com.jfrog.bintray")
|
id("com.jfrog.bintray")
|
||||||
@ -81,9 +80,9 @@ dependencies {
|
|||||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.2.0")
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.2.0")
|
||||||
|
|
||||||
|
|
||||||
val autoService = "1.0-rc7"
|
// val autoService = "1.0-rc7"
|
||||||
kapt("com.google.auto.service", "auto-service", autoService)
|
// kapt("com.google.auto.service", "auto-service", autoService)
|
||||||
compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
// compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.apply {
|
ext.apply {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
kotlin("plugin.serialization")
|
kotlin("plugin.serialization")
|
||||||
kotlin("kapt")
|
|
||||||
id("java")
|
id("java")
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
id("com.jfrog.bintray")
|
id("com.jfrog.bintray")
|
||||||
@ -46,10 +45,10 @@ dependencies {
|
|||||||
testApi(project(":mirai-console"))
|
testApi(project(":mirai-console"))
|
||||||
|
|
||||||
|
|
||||||
val autoService = "1.0-rc7"
|
// val autoService = "1.0-rc7"
|
||||||
kapt("com.google.auto.service", "auto-service", autoService)
|
// kapt("com.google.auto.service", "auto-service", autoService)
|
||||||
compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
// compileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
||||||
testCompileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
// testCompileOnly("com.google.auto.service", "auto-service-annotations", autoService)
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.apply {
|
ext.apply {
|
||||||
|
Loading…
Reference in New Issue
Block a user