diff --git a/processor/build.gradle.kts b/processor/build.gradle.kts index 583b1e0a..06cfdc53 100644 --- a/processor/build.gradle.kts +++ b/processor/build.gradle.kts @@ -18,11 +18,11 @@ dependencies { implementation(project(":annotations")) importMindustry() implementation("com.google.guava:guava:31.1-jre") - implementation("com.google.devtools.ksp:symbol-processing-api:1.7.20-1.0.6") - testImplementation("com.github.tschuchortdev:kotlin-compile-testing:1.4.9") - testImplementation("com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.9") + implementation("com.google.devtools.ksp:symbol-processing-api:1.9.21-1.0.15") + testImplementation("com.github.tschuchortdev:kotlin-compile-testing:1.5.0") + testImplementation("com.github.tschuchortdev:kotlin-compile-testing-ksp:1.5.0") testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0") - implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.21") - testImplementation("org.jetbrains.kotlin:kotlin-reflect:1.6.21") + implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.21") + testImplementation("org.jetbrains.kotlin:kotlin-reflect:1.9.21") } diff --git a/processor/test/net/liplum/source/DpSources.kt b/processor/test/DpSources.kt similarity index 98% rename from processor/test/net/liplum/source/DpSources.kt rename to processor/test/DpSources.kt index 0998ceb5..1f9eab06 100644 --- a/processor/test/net/liplum/source/DpSources.kt +++ b/processor/test/DpSources.kt @@ -1,4 +1,4 @@ -package net.liplum.source +package net.liplum import com.tschuchort.compiletesting.SourceFile diff --git a/processor/test/net/liplum/source/FunctionBodyVisitor.kt b/processor/test/FunctionBodyVisitor.kt similarity index 92% rename from processor/test/net/liplum/source/FunctionBodyVisitor.kt rename to processor/test/FunctionBodyVisitor.kt index 56b8761d..32d0cad3 100644 --- a/processor/test/net/liplum/source/FunctionBodyVisitor.kt +++ b/processor/test/FunctionBodyVisitor.kt @@ -1,4 +1,4 @@ -package net.liplum.source +package net.liplum import com.tschuchort.compiletesting.SourceFile diff --git a/processor/test/TestDpResolution.kt b/processor/test/TestDpResolution.kt index 5ffcb77a..6019f4f4 100644 --- a/processor/test/TestDpResolution.kt +++ b/processor/test/TestDpResolution.kt @@ -1,3 +1,5 @@ +package net.liplum + import net.liplum.processor.dp.DpGraph import org.junit.jupiter.api.Test diff --git a/processor/test/net/liplum/TestProduction.kt b/processor/test/TestProduction.kt similarity index 89% rename from processor/test/net/liplum/TestProduction.kt rename to processor/test/TestProduction.kt index 8e242c26..85d3bb22 100644 --- a/processor/test/net/liplum/TestProduction.kt +++ b/processor/test/TestProduction.kt @@ -5,13 +5,8 @@ import com.tschuchort.compiletesting.KotlinCompilation.ExitCode.OK import com.tschuchort.compiletesting.kspArgs import com.tschuchort.compiletesting.kspSourcesDir import com.tschuchort.compiletesting.symbolProcessorProviders -import net.liplum.processor.cacherw.CacheRwProcessor import net.liplum.processor.cacherw.CacheRwProcessorProv import net.liplum.processor.dp.DpProcessorProv -import net.liplum.source.Blocks -import net.liplum.source.Items -import net.liplum.source.Liquids -import net.liplum.source.TestFunctionBody import org.junit.jupiter.api.Test class TestProcess { @@ -49,5 +44,6 @@ class TestProcess { messageOutputStream = System.out } val result = compilation.compile() + assert(result.exitCode == OK) } }