Skip to content

Commit

Permalink
build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Feb 28, 2022
1 parent 8a4d2e8 commit 0c68739
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import ca.stellardrift.build.configurate.ConfigFormats
import ca.stellardrift.build.configurate.catalog.PolyglotVersionCatalogExtension

enableFeaturePreview("VERSION_CATALOGS")

plugins {
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.0"
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.1"
}

extensions.configure<PolyglotVersionCatalogExtension> {
Expand Down
2 changes: 0 additions & 2 deletions build-logic/src/main/kotlin/extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import org.gradle.api.provider.Provider
// set by GitHub Actions
val Project.ci: Provider<Boolean>
get() = providers.environmentVariable("CI")
.forUseAtConfigurationTime()
.map { it.toBoolean() }
.orElse(false)

val Project.compileExamples: Boolean
get() = providers.gradleProperty("compile-examples")
.forUseAtConfigurationTime()
.isPresent
4 changes: 2 additions & 2 deletions examples/example-bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tasks {
dependsOn(shadowJar)
}
runServer {
minecraftVersion("1.18.1")
minecraftVersion("1.18.2")
runDirectory(file("run/latest"))
javaLauncher.set(project.javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(17))
Expand All @@ -40,7 +40,7 @@ tasks {
// Setup a run task for each supported version
mapOf(
setOf("1.8.8", "1.9.4", "1.10.2", "1.11.2") to 11,
setOf("1.12.2", "1.13.2", "1.14.4", "1.15.2", "1.16.5", "1.17.1", "1.18.1") to 17,
setOf("1.12.2", "1.13.2", "1.14.4", "1.15.2", "1.16.5", "1.17.1", "1.18.2") to 17,
).forEach { (minecraftVersions, javaVersion) ->
for (version in minecraftVersions) {
createVersionedRun(version, javaVersion)
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pluginManagement {
}

plugins {
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.0"
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.1"
}

rootProject.name = "cloud"
Expand Down

0 comments on commit 0c68739

Please sign in to comment.