2022-11-02 00:38:04 +01:00
|
|
|
import org.gradle.kotlin.dsl.extra
|
|
|
|
|
|
|
|
plugins {
|
2022-12-17 21:53:21 +01:00
|
|
|
id("inceptum.library")
|
2022-11-02 00:38:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api("io.gitlab.jfronny.gson:gson-compile-core:${rootProject.extra["gsonCompileVersion"]}")
|
|
|
|
compileOnly("io.gitlab.jfronny.gson:gson-compile-annotations:${rootProject.extra["gsonCompileVersion"]}")
|
|
|
|
annotationProcessor("io.gitlab.jfronny.gson:gson-compile-processor:${rootProject.extra["gsonCompileVersion"]}")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
options.compilerArgs.add("-AgsonCompileNoReflect")
|
|
|
|
}
|