aboutsummaryrefslogtreecommitdiff
path: root/plugins/xml
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-01-31 00:37:29 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-31 15:27:26 +0100
commite99be615ce7c2c2b5c3ee5e3f8941c41c1e7a944 (patch)
tree7e3eb4f67d36d3b7b6db6aec08c58de2e1b678d3 /plugins/xml
parent0073c4c547dafaae5d465d4c410a52fd7fdc818d (diff)
downloaddokka-e99be615ce7c2c2b5c3ee5e3f8941c41c1e7a944.tar.gz
dokka-e99be615ce7c2c2b5c3ee5e3f8941c41c1e7a944.tar.bz2
dokka-e99be615ce7c2c2b5c3ee5e3f8941c41c1e7a944.zip
Bump Gradle version, migrate to Kotlin DSL, refactor publishing
Diffstat (limited to 'plugins/xml')
-rw-r--r--plugins/xml/build.gradle17
-rw-r--r--plugins/xml/build.gradle.kts8
2 files changed, 8 insertions, 17 deletions
diff --git a/plugins/xml/build.gradle b/plugins/xml/build.gradle
deleted file mode 100644
index ed4adb92..00000000
--- a/plugins/xml/build.gradle
+++ /dev/null
@@ -1,17 +0,0 @@
-import javax.tools.ToolProvider
-
-apply plugin: 'maven-publish'
-
-dependencies {
- compileOnly project(':core')
-}
-
-publishing {
- publications {
- dokkaCore(MavenPublication) { publication ->
- artifactId = 'xml-plugin'
-
- from components.java
- }
- }
-} \ No newline at end of file
diff --git a/plugins/xml/build.gradle.kts b/plugins/xml/build.gradle.kts
new file mode 100644
index 00000000..cd65cfe4
--- /dev/null
+++ b/plugins/xml/build.gradle.kts
@@ -0,0 +1,8 @@
+publishing {
+ publications {
+ register<MavenPublication>("xmlPlugin") {
+ artifactId = "xml-plugin"
+ from(components["java"])
+ }
+ }
+} \ No newline at end of file