-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.0.0 - Java 21, MC 1.21.4, thanks @jpenilla for all you do
- Loading branch information
Showing
19 changed files
with
238 additions
and
179 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
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 |
---|---|---|
@@ -1,17 +1,7 @@ | ||
plugins { | ||
id("java") | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://repo.papermc.io/repository/maven-public/") | ||
`meow-conventions` | ||
} | ||
|
||
dependencies { | ||
compileOnly("com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT") | ||
} | ||
|
||
java { | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
} | ||
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT") | ||
} |
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 |
---|---|---|
@@ -1 +1,80 @@ | ||
plugins { | ||
`meow-conventions` | ||
id("io.papermc.paperweight.userdev") version "2.0.0-beta.13" apply false | ||
id("com.gradleup.shadow") version "8.3.5" | ||
id("maven-publish") | ||
} | ||
|
||
group = "dev.kitteh" | ||
|
||
dependencies { | ||
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT") | ||
compileOnly("com.mojang:datafixerupper:1.0.20") | ||
implementation(project(":api")) | ||
implementation(project(":v1.20.6", configuration = "reobf")) | ||
implementation(project(":v1.21", configuration = "reobf")) | ||
implementation(project(":v1.21.3", configuration = "reobf")) | ||
implementation(project(":v1.21.4", configuration = "reobf")) | ||
} | ||
|
||
tasks.assemble { | ||
dependsOn(tasks.shadowJar) | ||
} | ||
|
||
tasks.jar { | ||
archiveClassifier = "original" | ||
} | ||
|
||
tasks.shadowJar { | ||
archiveClassifier = "" | ||
} | ||
|
||
publishing { | ||
publications { | ||
create<MavenPublication>("cardboardbox") { | ||
artifact(tasks.shadowJar) | ||
groupId = "dev.kitteh" | ||
artifactId = "cardboardbox" | ||
version = "3.0.0" | ||
pom { | ||
name = "CardboardBox" | ||
description = "A Bukkit-related data storage handler" | ||
licenses { | ||
license { | ||
name = "GNU General Public License (GPL) version 3" | ||
url = "https://www.gnu.org/licenses/gpl-3.0.txt" | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = "mbaxter" | ||
name = "Matt Baxter" | ||
email = "[email protected]" | ||
url = "https://www.kitteh.org/" | ||
organization = "Kitteh" | ||
organizationUrl = "https://www.kitteh.org" | ||
roles = setOf("Lead Developer", "Cat Wrangler") | ||
} | ||
} | ||
issueManagement { | ||
system = "GitHub" | ||
url = "https://github.com/KittehOrg/CardboardBox/issues" | ||
} | ||
scm { | ||
connection = "scm:git:git://github.com/KittehOrg/CardboardBox.git" | ||
developerConnection = "scm:git:git://github.com/KittehOrg/CardboardBox.git" | ||
url = "[email protected]:KittehOrg/CardboardBox.git" | ||
} | ||
repositories { | ||
maven { | ||
name = "DependencyDownload" | ||
val rel = "https://dependency.download/releases" | ||
val snap = "https://dependency.download/snapshots" | ||
url = uri(if (version.toString().endsWith("SNAPSHOT")) snap else rel) | ||
credentials(PasswordCredentials::class) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
} |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import org.gradle.jvm.toolchain.JavaLanguageVersion | ||
import org.gradle.kotlin.dsl.maven | ||
import org.gradle.kotlin.dsl.repositories | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
java { | ||
toolchain.languageVersion = JavaLanguageVersion.of(21) | ||
} | ||
|
||
repositories { | ||
maven("https://repo.papermc.io/repository/maven-public/") | ||
} | ||
|
||
tasks { | ||
withType<JavaCompile>().configureEach { | ||
options.release = 21 | ||
} | ||
withType<Javadoc>().configureEach { | ||
options.encoding = Charsets.UTF_8.name() | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#Sat Apr 27 15:28:03 EDT 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Oops, something went wrong.