From dce407c6836d4f54b5fac699319ab3fffdf0d7df Mon Sep 17 00:00:00 2001 From: Christian Torbidone Date: Fri, 2 Aug 2024 00:55:10 +0200 Subject: [PATCH] Some fixes --- .idea/uiDesigner.xml | 124 +++++++++++++++++++++++++++++++++++++++++++ build.gradle.kts | 17 +++--- 2 files changed, 134 insertions(+), 7 deletions(-) create mode 100644 .idea/uiDesigner.xml diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index cf60078..463fccb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "org.thundernetwork" -version = "1.0.0" +version = "1.0.2" repositories { maven("https://repository.thundernetwork.org/repository/maven-public") @@ -19,6 +19,7 @@ java { } dependencies { + implementation(kotlin("stdlib")) // testImplementation(kotlin("test")) } @@ -26,12 +27,12 @@ tasks.test { useJUnitPlatform() } -//tasks.jar { -// from(sourceSets.main) // Include all source code in the JAR -// manifest { -// attributes(mapOf("Main-Class" to "org.thundernetwork.sitemap")) -// } -//} +tasks.jar { + from(sourceSets.main.get().allSource) + manifest { + attributes(mapOf("Main-Class" to "org.thundernetwork.sitemapKt")) + } +} publishing { repositories { @@ -45,6 +46,8 @@ publishing { } publications { create("mavenJava") { + from(components["java"]) + pom { name = "Sitemap" description = "A simply collection of utils for sitemap creation written in Kotlin"