Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions buildSrc/src/main/kotlin/litecommands-java-11.gradle.kts

This file was deleted.

8 changes: 0 additions & 8 deletions buildSrc/src/main/kotlin/litecommands-java-8.gradle.kts

This file was deleted.

4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/litecommands-java.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion litecommands-adventure-platform/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-repositories`
`litecommands-publish`
}
Expand Down
2 changes: 1 addition & 1 deletion litecommands-adventure/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-bungee/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-repositories`
`litecommands-publish`
}
Expand Down
2 changes: 1 addition & 1 deletion litecommands-chatgpt/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-11`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-framework/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-jda/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-11`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-luckperms/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-repositories`
`litecommands-publish`
}
Expand Down
2 changes: 1 addition & 1 deletion litecommands-programmatic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-unit-test`
`litecommands-repositories`
`litecommands-publish`
Expand Down
2 changes: 1 addition & 1 deletion litecommands-unit/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`litecommands-java`
`litecommands-java-8`
`litecommands-java-17`
`litecommands-repositories`
}

Expand Down
36 changes: 17 additions & 19 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ import org.gradle.api.JavaVersion.*

rootProject.name = "LiteCommands"

compatibleWith("fabric maven", VERSION_17, tests = false) {
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.fabricmc.net/")
}
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.fabricmc.net/")
}
}

Expand All @@ -22,34 +20,34 @@ include(":litecommands-unit")
// extensions
include(":litecommands-adventure")
include(":litecommands-adventure-platform", tests = false)
include(":litecommands-chatgpt", VERSION_11)
include(":litecommands-jakarta", VERSION_17)
include(":litecommands-chatgpt")
include(":litecommands-jakarta")
include(":litecommands-luckperms")

// platforms
include(":litecommands-velocity", VERSION_11, tests = false)
include(":litecommands-velocity", tests = false)
include(":litecommands-bungee", tests = false)
include(":litecommands-bukkit")
include(":litecommands-folia", VERSION_21, tests = false)
include(":litecommands-minestom", VERSION_21)
include("litecommands-jda", VERSION_11)
include("litecommands-jda")
include(":litecommands-sponge", VERSION_21, tests = false)
include(":litecommands-fabric", VERSION_17, tests = false)
include(":litecommands-telegrambots", VERSION_17, tests = false)
include(":litecommands-fabric", tests = false)
include(":litecommands-telegrambots", tests = false)

// examples
include(":examples:bukkit", tests = false)
include(":examples:bukkit-adventure-platform", tests = false)
include(":examples:bukkit-chatgpt", VERSION_11, tests = false)
include(":examples:bukkit-chatgpt", tests = false)
include(":examples:minestom", VERSION_21, tests = false)
include(":examples:paper", VERSION_21, tests = false)
include(":examples:fabric", VERSION_17, tests = false)
include(":examples:jda", VERSION_11, tests = false)
include(":examples:fabric", tests = false)
include(":examples:jda", tests = false)
include(":examples:sponge", VERSION_21, tests = false)
include(":examples:telegrambots", VERSION_17, tests = false)
include(":examples:velocity", VERSION_11, tests = false)
include(":examples:telegrambots", tests = false)
include(":examples:velocity", tests = false)

fun include(project: String, java: JavaVersion = VERSION_1_8, tests: Boolean = true) {
fun include(project: String, java: JavaVersion = VERSION_17, tests: Boolean = true) {
compatibleWith("including $project", java, tests) {
settings.include(project)
}
Expand Down
Loading