diff options
author | nea <nea@nea.moe> | 2023-01-14 20:24:48 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-24 20:18:49 +0200 |
commit | ed5c35a6f6a6f3907d6a8ac59f642170af472aad (patch) | |
tree | 16f57ae5f77e9bd29b28122b2042922bf0762007 | |
parent | 20ec88d18695099a795f4186547b991a3efe1701 (diff) | |
download | spark-ed5c35a6f6a6f3907d6a8ac59f642170af472aad.tar.gz spark-ed5c35a6f6a6f3907d6a8ac59f642170af472aad.tar.bz2 spark-ed5c35a6f6a6f3907d6a8ac59f642170af472aad.zip |
jitpack
-rw-r--r-- | build.gradle | 1 | ||||
-rw-r--r-- | jitpack.yml | 6 | ||||
-rw-r--r-- | settings.gradle | 1 | ||||
-rw-r--r-- | spark-forge189/build.gradle | 17 |
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" + } + } + } +} |