Skip to content

Commit 8b091d0

Browse files
Merge pull request #39 from TechnicallyCoded/fix/readme-shadow
Update README.md Replace outdated shadow & make syntax more compatible with kts build files
2 parents 5aea0f8 + a661d0e commit 8b091d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ This project is still in its early stages and may make frequent breaking changes
3333

3434
```groovy
3535
plugins {
36-
id 'com.github.johnrengelman.shadow' version '8.1.1' // For up to Java 17
37-
// id 'io.github.goooler.shadow' version '8.1.7' // Uncomment for Java 21 or higher
36+
id("com.github.johnrengelman.shadow") version "8.1.1" // For up to Java 17
37+
// id("com.gradleup.shadow") version "9.0.0-beta12" // Uncomment for Java 21 or higher
3838
}
3939
4040
repositories {
@@ -45,12 +45,12 @@ repositories {
4545
}
4646
4747
dependencies {
48-
implementation "com.github.technicallycoded:FoliaLib:main-SNAPSHOT"
48+
implementation("com.github.technicallycoded:FoliaLib:main-SNAPSHOT")
4949
}
5050
5151
shadowJar {
5252
// !! MAKE SURE TO CHANGE THIS TO YOUR PLUGIN'S GROUP & PLUGIN NAME !!
53-
relocate "com.tcoded.folialib", "CHANGE-THE-GROUP.CHANGE-THE-PLUGIN-NAME.lib.folialib"
53+
relocate("com.tcoded.folialib", "CHANGE-THE-GROUP.CHANGE-THE-PLUGIN-NAME.lib.folialib")
5454
5555
// Optional: If you use minimize, make sure you exclude FoliaLib
5656
// Do not uncomment this if you don't know what you are doing

0 commit comments

Comments
 (0)