-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor build.gradle.kts to directly configure 'indra' settings
The 'indra' settings within the build.gradle.kts file has been refactored to remove usage of the 'configureIndra' function and instead directly defining the configuration within the 'indra' block. This change simplifies the build script, making it easier to read and maintain.
- Loading branch information
1 parent
408e4c4
commit d4a451a
Showing
1 changed file
with
25 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,31 @@ allprojects { | |
} | ||
|
||
indra { | ||
configureIndra(this) | ||
javaVersions { | ||
target(17) | ||
testWith(17) | ||
} | ||
|
||
github("eldoriarpg", "jackson-bukkit") { | ||
ci(true) | ||
} | ||
|
||
lgpl3OrLaterLicense() | ||
|
||
signWithKeyFromPrefixedProperties("rainbowdashlabs") | ||
|
||
configurePublications { | ||
pom { | ||
developers { | ||
developer { | ||
id.set("rainbowdashlabs") | ||
name.set("Florian Fülling") | ||
email.set("[email protected]") | ||
url.set("https://github.com/rainbowdashlabs") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
spotless { | ||
|
@@ -91,34 +115,6 @@ allprojects { | |
} | ||
} | ||
|
||
fun configureIndra(extension: IndraExtension) { | ||
extension.javaVersions { | ||
target(17) | ||
testWith(17) | ||
} | ||
|
||
extension.github("eldoriarpg", "jackson-bukkit") { | ||
ci(true) | ||
} | ||
|
||
extension.lgpl3OrLaterLicense() | ||
|
||
extension.signWithKeyFromPrefixedProperties("rainbowdashlabs") | ||
|
||
extension.configurePublications { | ||
pom { | ||
developers { | ||
developer { | ||
id.set("rainbowdashlabs") | ||
name.set("Florian Fülling") | ||
email.set("[email protected]") | ||
url.set("https://github.com/rainbowdashlabs") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
indraSonatype { | ||
useAlternateSonatypeOSSHost("s01") | ||
} | ||
|