11plugins {
22 id ' com.github.ben-manes.versions' version ' 0.39.0'
3- id ' net.minecraftforge.gradleutils' version ' 1 .+'
3+ id ' net.minecraftforge.gradleutils' version ' 2 .+'
44 id ' me.champeau.jmh' version ' 0.6.5'
55 id ' org.javamodularity.moduleplugin' version ' 1.8.7' apply false
66}
@@ -53,6 +53,10 @@ dependencies {
5353 testRuntimeOnly(' org.junit.jupiter:junit-jupiter-engine:5.7.+' )
5454}
5555
56+ changelog {
57+ fromTag " 2.0"
58+ }
59+
5660task sourcesJar (type : Jar ) {
5761 archiveClassifier = ' sources'
5862 from sourceSets. main. allSource
@@ -110,15 +114,15 @@ publishing {
110114 pom {
111115 name = ' Secure Modular Jar handler'
112116 description = ' Making the Java modular system provide security information'
113- url = ' https://github.com/cpw /securejarhandler'
117+ url = ' https://github.com/McModLauncher /securejarhandler'
114118 scm {
115- url = ' https://github.com/cpw /securejarhandler'
116- connection = ' scm:git:git://github.com/cpw /securejarhandler.git'
117- developerConnection = ' scm:git:git@github.com:cpw /securejarhandler.git'
119+ url = ' https://github.com/McModLauncher /securejarhandler'
120+ connection = ' scm:git:git://github.com/McModLauncher /securejarhandler.git'
121+ developerConnection = ' scm:git:git@github.com:McModLauncher /securejarhandler.git'
118122 }
119123 issueManagement {
120124 system = ' github'
121- url = ' https://github.com/cpw /securejarhandler/issues'
125+ url = ' https://github.com/McModLauncher /securejarhandler/issues'
122126 }
123127
124128 developers {
@@ -131,19 +135,6 @@ publishing {
131135 }
132136 }
133137 repositories {
134- maven {
135- if (System . env. MAVEN_USER ) {
136- url ' https://maven.minecraftforge.net/releases/'
137- authentication {
138- basic(BasicAuthentication )
139- }
140- credentials {
141- username = System . env. MAVEN_USER ?: ' not'
142- password = System . env. MAVEN_PASSWORD ?: ' set'
143- }
144- } else {
145- url ' file://' + rootProject. file(' repo' ). getAbsolutePath()
146- }
147- }
138+ maven gradleutils. getPublishingForgeMaven()
148139 }
149- }
140+ }
0 commit comments