Files
thaumicadditions/build.gradle
T
layue13andClaude Sonnet 5.5 e66978155d
Build / build (push) Failing after 8m23s
Thaumic Additions 0.41 (1.7.10):从 jar 反编译的源码和 GTNH 约定的 Gradle 构建
来源 jar:[1.7.10] Thaumic Additions - 0.41.jar(liuhao/liangzishidai)。
反编译 307 个类(Fernflower,0 失败),资源 281 个;未编译验证。

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-11 03:40:40 -07:00

30 lines
849 B
Groovy

plugins { id 'com.gtnewhorizons.gtnhconvention' }
def gitCommit = providers.exec {
commandLine 'git', 'rev-parse', '--short=7', 'HEAD'
}.standardOutput.asText.get().trim()
group = 'uk.potatolab'
version = "${providers.gradleProperty('modVersion').get()}-${gitCommit}"
afterEvaluate {
publishing.publications.named('maven', MavenPublication) {
groupId = project.group
artifactId = 'ThaumicAdditions'
version = project.version
}
}
repositories {
maven {
name = 'TDLM Maven'
url = 'https://git.nest.potatolab.uk:8443/api/packages/TDLM/maven'
if (System.getenv('MAVEN_USER') && System.getenv('MAVEN_PASSWORD')) {
credentials {
username = System.getenv('MAVEN_USER')
password = System.getenv('MAVEN_PASSWORD')
}
}
}
}