-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev-1.18' into dev-1.19-antimatter-port-test
- Loading branch information
Showing
22 changed files
with
170 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
jdk "jdk-21" // valid options are: "jdk-8", "jdk-16", "jdk-17" or "jdk-21", choose which one you need | ||
} | ||
stages { | ||
stage('Clean') { | ||
steps { | ||
echo 'Cleaning Project' | ||
sh 'chmod +x gradlew' | ||
sh './gradlew clean' | ||
} | ||
} | ||
stage('Build & Publish') { | ||
steps { | ||
echo 'Building & Publishing' | ||
sh './gradlew build publish' | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
discordSend( | ||
webhookURL: "https://discord.com/api/webhooks/1313642177083216073/H8EnQ65JusCjpqGTqLXDZI1BYBe4ArLJn3xSjEOWthg4Nwa7ZFSHu1SYag8fU4v4DB8k", | ||
thumbnail: "https://raw.githubusercontent.com/GT-Reimagined/gt-reimagined.github.io/refs/heads/main/icon.png", | ||
title: "Tesseract API ${TAG_NAME} #${BUILD_NUMBER}", | ||
link: env.BUILD_URL, | ||
result: currentBuild.currentResult, | ||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})\nStatus: ${currentBuild.currentResult}" | ||
) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,35 @@ | ||
archivesBaseName = rootProject.tesseract_archive_base_name | ||
version = "${project.mod_version}-${rootProject.minecraft_version}" | ||
|
||
sourceSets { | ||
test { | ||
compileClasspath += main.compileClasspath | ||
runtimeClasspath += main.runtimeClasspath | ||
} | ||
} | ||
|
||
loom { | ||
runs { | ||
testClient { | ||
client() | ||
ideConfigGenerated project.rootProject == project | ||
name = "Testmod Client" | ||
source sourceSets.test | ||
} | ||
testServer { | ||
server() | ||
ideConfigGenerated project.rootProject == project | ||
name = "Testmod Server" | ||
source sourceSets.test | ||
} | ||
} | ||
plugins { | ||
id "fabric-loom" | ||
} | ||
archivesBaseName = "${project.tesseract_archive_base_name}-common" | ||
|
||
dependencies{ | ||
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" | ||
compileOnly("com.electronwill.night-config:toml:${rootProject.nightconfig_version}") | ||
compileOnly("com.electronwill.night-config:core:${rootProject.nightconfig_version}") | ||
modImplementation("earth.terrarium:botarium-common-${project.minecraft_version}:${project.botarium_version}") | ||
modImplementation "maven.modrinth:carbon-config:${project.carbon_config_fabric_version}" | ||
testImplementation('junit:junit:4.11') | ||
testImplementation(sourceSets.main.output) | ||
} | ||
|
||
architectury { | ||
common("forge", "fabric") | ||
minecraft "com.mojang:minecraft:${project.minecraft_version}" | ||
mappings loom.layered() { | ||
officialMojangMappings() | ||
parchment("org.parchmentmc.data:parchment-${project.minecraft_version}:${project.mappings_version}@zip") | ||
} | ||
//compileOnly("com.electronwill.night-config:toml:${rootProject.nightconfig_version}") | ||
//compileOnly("com.electronwill.night-config:core:${rootProject.nightconfig_version}") | ||
modImplementation("earth.terrarium:botarium-fabric-${project.minecraft_version}:${project.botarium_version}") | ||
implementation 'com.github.Carbon-Config-Project:CarbonConfigLib:1.3.0' | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(org.gradle.api.publish.maven.MavenPublication) { | ||
artifact(sourcesJar) { | ||
builtBy remapSourcesJar | ||
} | ||
|
||
afterEvaluate { | ||
artifact remapJar | ||
} | ||
from components.java | ||
} | ||
} | ||
|
||
repositories { | ||
def isCI = System.getenv("GITHUB_ACTION") | ||
def isRELEASE = System.getenv("GITHUB_RELEASE") | ||
if (isCI && isRELEASE) { | ||
def isCI = System.getenv("CI") | ||
if (isCI) { | ||
maven { | ||
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/" | ||
credentials { | ||
username = System.getenv("MAVEN_USERNAME") | ||
password = System.getenv("MAVEN_PASSWORD") | ||
} | ||
url System.getenv("local_maven_url") | ||
} | ||
} else { | ||
maven { url "file:///${project.projectDir}/mcmodsrepo"} | ||
mavenLocal() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
mod_version=0.2.3 | ||
mod_version=0.2.4.1 | ||
fabric.loom.dontRemap=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.