From 851c68410e44c59cfbf1bf3c27658bd6c04d637b Mon Sep 17 00:00:00 2001 From: Xavier Gouchet Date: Tue, 3 Oct 2023 18:58:23 +0200 Subject: [PATCH] Create KSP implementation --- .idea/gradle.xml | 1 + gradle/libs.versions.toml | 2 + ksp/build.gradle.kts | 34 ++ .../xgouchet/elmyr/ksp/ForgerableProcessor.kt | 293 +++++++++++ .../elmyr/ksp/ForgerableProcessorProvider.kt | 17 + ...ols.ksp.processing.SymbolProcessorProvider | 1 + .../ksp/ForgerableProcessorProviderTest.kt | 457 ++++++++++++++++++ settings.gradle.kts | 1 + 8 files changed, 806 insertions(+) create mode 100644 ksp/build.gradle.kts create mode 100644 ksp/src/main/kotlin/fr/xgouchet/elmyr/ksp/ForgerableProcessor.kt create mode 100644 ksp/src/main/kotlin/fr/xgouchet/elmyr/ksp/ForgerableProcessorProvider.kt create mode 100644 ksp/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessorProvider create mode 100644 ksp/src/test/kotlin/fr/xgouchet/elmyr/ksp/ForgerableProcessorProviderTest.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 0df879f..98f6939 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -28,6 +28,7 @@