From a20da5a79b5b05839862c8e8fd165b18368729c1 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:47:08 +1000 Subject: Backend: Auto load annotation (#1904) Co-authored-by: Brady --- annotation-processors/build.gradle.kts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 annotation-processors/build.gradle.kts (limited to 'annotation-processors/build.gradle.kts') diff --git a/annotation-processors/build.gradle.kts b/annotation-processors/build.gradle.kts new file mode 100644 index 000000000..c091ba6e3 --- /dev/null +++ b/annotation-processors/build.gradle.kts @@ -0,0 +1,27 @@ +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + +plugins { + idea + kotlin("jvm") + java +} + +repositories { + mavenCentral() +} + +dependencies { + implementation(kotlin("stdlib-jdk8")) + implementation("com.google.devtools.ksp:symbol-processing-api:1.8.0-1.0.8") +} + +tasks.withType { + if (JavaVersion.current().isJava9Compatible) { + options.release.set(8) + } +} + +val compileKotlin: KotlinCompile by tasks +compileKotlin.kotlinOptions { + jvmTarget = "1.8" +} -- cgit