File tree Expand file tree Collapse file tree 8 files changed +8
-79
lines changed
Expand file tree Collapse file tree 8 files changed +8
-79
lines changed Original file line number Diff line number Diff line change @@ -176,14 +176,6 @@ dependencies {
176176 }
177177}
178178
179- indraSpotlessLicenser {
180- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
181-
182- property(" name" , " Sponge" )
183- property(" organization" , organization)
184- property(" url" , projectUrl)
185- }
186-
187179allprojects {
188180 configurations.configureEach {
189181 resolutionStrategy.dependencySubstitution {
@@ -274,6 +266,14 @@ allprojects {
274266 }
275267 }
276268
269+ indraSpotlessLicenser {
270+ licenseHeaderFile(rootProject.file(" HEADER.txt" ))
271+
272+ property(" name" , " Sponge" )
273+ property(" organization" , organization)
274+ property(" url" , projectUrl)
275+ }
276+
277277 val spongeSnapshotRepo: String? by project
278278 val spongeReleaseRepo: String? by project
279279 tasks {
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ val apiVersion: String by project
2626val minecraftVersion: String by project
2727val forgeVersion: String by project
2828val recommendedVersion: String by project
29- val organization: String by project
3029val projectUrl: String by project
3130
3231description = " The SpongeAPI implementation for MinecraftForge"
@@ -433,14 +432,6 @@ sourceSets {
433432 }
434433}
435434
436- indraSpotlessLicenser {
437- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
438-
439- property(" name" , " Sponge" )
440- property(" organization" , organization)
441- property(" url" , projectUrl)
442- }
443-
444435publishing {
445436 publications {
446437 register(" sponge" , MavenPublication ::class ) {
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ plugins {
22 id(" org.spongepowered.gradle.vanilla" )
33}
44
5- val apiVersion: String by project
6- val organization: String by project
7- val projectUrl: String by project
8-
95description = " Code generator for automatically producing API catalog classes based off of Vanilla MC data"
106
117minecraft {
@@ -30,14 +26,6 @@ dependencies {
3026 runtimeOnly(libs.tinylog.slf4j)
3127}
3228
33- indraSpotlessLicenser {
34- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
35-
36- property(" name" , " Sponge" )
37- property(" organization" , organization)
38- property(" url" , projectUrl)
39- }
40-
4129val apiBase = rootProject.file(" SpongeAPI/src/main/java/" )
4230val temporaryLicenseHeader = project.layout.buildDirectory.file(" api-gen-license-header.txt" )
4331tasks.register(" generateApiData" , JavaExec ::class ) {
Original file line number Diff line number Diff line change 1- val organization: String by project
2- val projectUrl: String by project
3-
4- indraSpotlessLicenser {
5- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
6-
7- property(" name" , " Sponge" )
8- property(" organization" , organization)
9- property(" url" , projectUrl)
10- }
11-
121dependencies {
132 implementation(apiLibs.gson)
143}
Original file line number Diff line number Diff line change 1- val organization: String by project
2- val projectUrl: String by project
3-
4- indraSpotlessLicenser {
5- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
6-
7- property(" name" , " Sponge" )
8- property(" organization" , organization)
9- property(" url" , projectUrl)
10- }
11-
121dependencies {
132 // AccessWidener transformer
143 implementation(libs.accessWidener) {
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ val apiVersion: String by project
2626val minecraftVersion: String by project
2727val neoForgeVersion: String by project
2828val recommendedVersion: String by project
29- val organization: String by project
3029val projectUrl: String by project
3130
3231description = " The SpongeAPI implementation for NeoForge"
@@ -417,14 +416,6 @@ sourceSets {
417416 }
418417}
419418
420- indraSpotlessLicenser {
421- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
422-
423- property(" name" , " Sponge" )
424- property(" organization" , organization)
425- property(" url" , projectUrl)
426- }
427-
428419publishing {
429420 publications {
430421 register(" sponge" , MavenPublication ::class ) {
Original file line number Diff line number Diff line change 11val apiVersion: String by project
2- val organization: String by project
3- val projectUrl: String by project
42
53dependencies {
64 annotationProcessor(implementation(" org.spongepowered:spongeapi:$apiVersion " )!! )
75}
8-
9- indraSpotlessLicenser {
10- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
11-
12- property(" name" , " Sponge" )
13- property(" organization" , organization)
14- property(" url" , projectUrl)
15- }
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ val apiVersion: String by project
1717val apiJavaTarget: String by project
1818val minecraftVersion: String by project
1919val recommendedVersion: String by project
20- val organization: String by project
2120val projectUrl: String by project
2221
2322description = " The SpongeAPI implementation for Vanilla Minecraft"
@@ -518,14 +517,6 @@ tasks {
518517 }
519518}
520519
521- indraSpotlessLicenser {
522- licenseHeaderFile(rootProject.file(" HEADER.txt" ))
523-
524- property(" name" , " Sponge" )
525- property(" organization" , organization)
526- property(" url" , projectUrl)
527- }
528-
529520val universalJar by tasks.existing
530521val vanillaInstallerJar by tasks.existing
531522val vanillaAppLaunchJar by tasks.existing
You can’t perform that action at this time.
0 commit comments