Files
thaumicadditions/build.gradle
T
layue13andClaude Sonnet 5.5 67578c4c41
Build / build (push) Successful in 15m16s
去掉 required-after:particlelib;项目名和 artifactId 改小写
代码里没有任何类导入 ParticleLib,TDLM 的包里也没有这个模组,保留依赖会让模组无法加载。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 04:22:50 -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')
}
}
}
}