summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-02-24 03:03:23 +0100
committer zaaarf <zaaarf@proton.me>2023-02-24 03:03:23 +0100
commit4f87eccc830a7086c8d0c25ceec03b4a18ef3438 (patch)
tree356f9dc1d2b11c339948133950b2f148065efbe8 /build.gradle
feat: initial commit, limited implementation of the annotation processor
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle29
1 files changed, 29 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..2634e82
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,29 @@
+import org.gradle.internal.jvm.Jvm
+
+plugins {
+ id 'java-processor-plugin'
+}
+
+group 'ftbsc.lll.processor'
+version '1.0-SNAPSHOT'
+
+repositories {
+ mavenCentral()
+ maven { url = 'https://maven.fantabos.co' }
+}
+
+dependencies {
+ implementation files(Jvm.current().toolsJar)
+ implementation 'com.squareup:javapoet:1.13.0'
+ implementation 'ftbsc:lll:0.1.2'
+ implementation 'org.ow2.asm:asm-commons:9.4'
+}
+
+gradlePlugin {
+ plugins {
+ create("lillero-processor") {
+ id = "ftbsc.lll.processor"
+ implementationClass = "ftbsc.lll.processor.Plugin"
+ }
+ }
+} \ No newline at end of file