aboutsummaryrefslogtreecommitdiff
path: root/plugins/mathjax
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mathjax')
-rw-r--r--plugins/mathjax/build.gradle17
-rw-r--r--plugins/mathjax/build.gradle.kts8
2 files changed, 8 insertions, 17 deletions
diff --git a/plugins/mathjax/build.gradle b/plugins/mathjax/build.gradle
deleted file mode 100644
index 6578ff45..00000000
--- a/plugins/mathjax/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 = 'mathjax-plugin'
-
- from components.java
- }
- }
-} \ No newline at end of file
diff --git a/plugins/mathjax/build.gradle.kts b/plugins/mathjax/build.gradle.kts
new file mode 100644
index 00000000..0e9a16d0
--- /dev/null
+++ b/plugins/mathjax/build.gradle.kts
@@ -0,0 +1,8 @@
+publishing {
+ publications {
+ register<MavenPublication>("mathjaxPlugin") {
+ artifactId = "mathjax-plugin"
+ from(components["java"])
+ }
+ }
+} \ No newline at end of file