File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ apply from: "$rootDir/gradle/scripts/moddevgradle.gradle"
3333apply from : " $rootDir /gradle/scripts/repositories.gradle"
3434apply from : " $rootDir /dependencies.gradle"
3535apply from : " $rootDir /gradle/scripts/resources.gradle"
36- // apply from: "$rootDir/gradle/scripts/publishing.gradle"
36+ apply from : " $rootDir /gradle/scripts/publishing.gradle"
3737apply from : " $rootDir /gradle/scripts/spotless.gradle"
3838
3939tasks. withType(JavaCompile ). configureEach {
Original file line number Diff line number Diff line change 1+ publishing {
2+ publications {
3+ mavenJava(MavenPublication ) {
4+ artifactId = base. archivesName. get()
5+ artifact(reobfSlimJar)
6+ from components. java
7+ }
8+ }
9+
10+ // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
11+ repositories {
12+ // Add repositories to publish to here.
13+ maven {
14+ url = " https://maven.gtceu.com"
15+ credentials {
16+ username = System . getenv(" MAVEN_USER" )
17+ password = System . getenv(" MAVEN_PASSWORD" )
18+ }
19+ }
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments