-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- readthedocs-preview incendocloud start --> ---- π Documentation preview π: https://incendocloud--29.org.readthedocs.build/en/29/ <!-- readthedocs-preview incendocloud end -->
- Loading branch information
1 parent
4c3b7fc
commit 5a3d287
Showing
41 changed files
with
1,489 additions
and
671 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Gradle Build | ||
on: | ||
push: | ||
branches: ["**"] | ||
tags-ignore: ["**"] | ||
pull_request: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
# Only run on PRs if the source branch is on someone else's repo | ||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} | ||
runs-on: "ubuntu-latest" | ||
defaults: | ||
run: | ||
working-directory: code | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v1 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: 17 | ||
- uses: gradle/gradle-build-action@v2 | ||
with: | ||
# allow master and *-dev branches to write caches (default is only master/main) | ||
cache-read-only: ${{ github.ref != 'refs/heads/master' && !(endsWith(github.ref, '-dev') && startsWith(github.ref, 'refs/heads/')) }} | ||
- name: Build | ||
run: ./gradlew build |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
plugins { | ||
alias(libs.plugins.indra) | ||
} | ||
|
||
dependencies { | ||
implementation(libs.cloud.core) | ||
implementation(libs.cloud.minecraft.extras) | ||
} | ||
|
||
indra { | ||
javaVersions { | ||
minimumToolchain(8) | ||
target(8) | ||
} | ||
} | ||
|
||
tasks { | ||
withType<JavaCompile> { | ||
options.compilerArgs.addAll(listOf("-Xlint:-processing,-classfile,-serial", "-Werror")) | ||
} | ||
} |
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,5 @@ | ||
group=org.incendo | ||
version=1.0.0-SNAPSHOT | ||
description=cloud-docs snippets | ||
org.gradle.caching=true | ||
org.gradle.parallel=true |
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,12 @@ | ||
[versions] | ||
indra = "3.1.3" | ||
|
||
cloud = "2.0.0-beta.2" | ||
cloudMinecraft = "2.0.0-beta.2" | ||
|
||
[plugins] | ||
indra = { id = "net.kyori.indra", version.ref = "indra" } | ||
|
||
[libraries] | ||
cloud-core = { group = "org.incendo", name = "cloud-core", version.ref = "cloud" } | ||
cloud-minecraft-extras = { group = "org.incendo", name = "cloud-minecraft-extras", version.ref = "cloudMinecraft" } |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.