File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -16,27 +16,28 @@ publishing {
1616 publications {
1717 mavenCommon(MavenPublication ) {
1818 artifactId = rootProject. archivesBaseName
19+ version ftbPublishing. mavenVersion
1920 from components. java
2021 }
2122 }
2223
2324 repositories {
24- if (ENV . FTB_MAVEN_TOKEN ) {
25+ if (ftbPublishing . ftbToken ) {
2526 maven {
26- url " https://maven.ftb.dev/release "
27+ url ftbPublishing . ftbURL
2728 credentials {
28- username = " ftb "
29- password = " ${ ENV.FTB_MAVEN_TOKEN } "
29+ username = ftbPublishing . ftbUser
30+ password = ftbPublishing . ftbToken
3031 }
3132 }
3233 }
3334
34- if (ENV . SAPS_TOKEN ) {
35+ if (ftbPublishing . sapsToken ) {
3536 maven {
36- url " https://maven.saps.dev/minecraft "
37+ url ftbPublishing . sapsURL
3738 credentials {
38- username = " ftb "
39- password = " ${ ENV.SAPS_TOKEN } "
39+ username = ftbPublishing . sapsUser
40+ password = ftbPublishing . sapsToken
4041 }
4142 }
4243 }
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ dependencies {
2424 modApi " dev.architectury:architectury-forge:${ rootProject.architectury_version} "
2525 modApi(" dev.ftb.mods:ftb-library-forge:${ rootProject.ftb_library_version} " ) { transitive false }
2626
27- // modRuntime("dev.ftb.mods:ftb-chunks-forge:${rootProject.ftb_chunks_version}") { transitive false }
28-
2927 common(project(path : " :common" , configuration : " namedElements" )) { transitive false }
3028 shadowCommon(project(path : " :common" , configuration : " transformProductionForge" )) { transitive false }
3129}
You can’t perform that action at this time.
0 commit comments