aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-06-04 01:02:35 -0400
committerAllan Wang <me@allanwang.ca>2019-06-04 01:02:35 -0400
commit8052a9a4b5f64191d19912d53e16d7e49a587a17 (patch)
tree271aeb302beb48f8d4b4b9d5a09b2663cac3ddba /buildSrc/build.gradle.kts
parentaf8f9685112695f031d93fcb2da8a6e0a3b70c4a (diff)
downloadkau-8052a9a4b5f64191d19912d53e16d7e49a587a17.tar.gz
kau-8052a9a4b5f64191d19912d53e16d7e49a587a17.tar.bz2
kau-8052a9a4b5f64191d19912d53e16d7e49a587a17.zip
Convert plugin to kotlin code
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts18
1 files changed, 18 insertions, 0 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
new file mode 100644
index 0000000..5939d89
--- /dev/null
+++ b/buildSrc/build.gradle.kts
@@ -0,0 +1,18 @@
+plugins {
+ `kotlin-dsl`
+}
+
+group = "ca.allanwang"
+
+gradlePlugin {
+ plugins {
+ register("kau-plugin") {
+ id = "ca.allanwang.kau"
+ implementationClass = "ca.allanwang.kau.KauPlugin"
+ }
+ }
+}
+
+repositories {
+ mavenCentral()
+} \ No newline at end of file