aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle1
-rw-r--r--jitpack.yml6
-rw-r--r--settings.gradle1
-rw-r--r--spark-forge189/build.gradle17
4 files changed, 21 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index f96ec86..04e5f60 100644
--- a/build.gradle
+++ b/build.gradle
@@ -54,6 +54,7 @@ def determinePatchVersion() {
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = tagInfo
+ ignoreExitValue = true
}
tagInfo = tagInfo.toString()
diff --git a/jitpack.yml b/jitpack.yml
index 56acad0..6166e3d 100644
--- a/jitpack.yml
+++ b/jitpack.yml
@@ -1,2 +1,4 @@
-before_install:
- - ./gradlew :spark-forge1710:setupCIWorkspace
+jdk:
+ - openjdk17
+env:
+ CI: true
diff --git a/settings.gradle b/settings.gradle
index ed8f373..04435ee 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -26,6 +26,5 @@ rootProject.name = 'spark'
include (
'spark-api',
'spark-common',
- 'spark-forge1710',
'spark-forge189'
)
diff --git a/spark-forge189/build.gradle b/spark-forge189/build.gradle
index 721d452..a7d8f2b 100644
--- a/spark-forge189/build.gradle
+++ b/spark-forge189/build.gradle
@@ -7,6 +7,7 @@ plugins {
id 'dev.architectury.architectury-pack200' version '0.1.3'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'net.kyori.blossom' version '1.2.0'
+ id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -92,4 +93,18 @@ processResources {
}
from(file("LICENSE"))
-} \ No newline at end of file
+}
+
+publishing {
+ publications {
+ maven(MavenPublication) {
+ artifactId = 'spark-forge189'
+ groupId = project.group
+ version = project.version
+
+ artifact(tasks.shadowJar) {
+ classifier = "mod"
+ }
+ }
+ }
+}