Fix publishing issue

This commit is contained in:
JeremyStar™ 2024-12-25 15:18:00 +01:00
parent a2db3c3278
commit 4b9bec52af
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -45,6 +45,7 @@ import java.net.URI
// Plugins // Plugins
plugins { plugins {
id("java-library") id("java-library")
id("maven-publish")
// Kotlin support // Kotlin support
id("org.jetbrains.kotlin.jvm") version("2.0.0") id("org.jetbrains.kotlin.jvm") version("2.0.0")
@ -65,6 +66,7 @@ plugins {
allprojects { allprojects {
// Plugins // Plugins
apply(plugin = "java-library") apply(plugin = "java-library")
apply(plugin = "maven-publish")
apply(plugin = "org.jetbrains.kotlin.jvm") apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.dokka") apply(plugin = "org.jetbrains.dokka")
apply(plugin = "com.gorylenko.gradle-git-properties") apply(plugin = "com.gorylenko.gradle-git-properties")
@ -108,9 +110,6 @@ allprojects {
} }
// Publishing // Publishing
// Does not yet work, see
// https://github.com/solo-studios/nyx/issues/1
/*
publishing { publishing {
withPublish() withPublish()
repositories { repositories {
@ -120,7 +119,6 @@ allprojects {
} }
} }
} }
*/
// Compilation // Compilation
compile { compile {