diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..faffb36 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,32 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v2.4.0 + with: + java-version: '17' + distribution: 'temurin' + cache: gradle + - name: Grant gradle permission + run: chmod=+x ./gradlew + - name: Build with Gradle + run: ./gradlew build --no-daemon diff --git a/README.md b/README.md index 74c57e9..93c6e76 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The versions listed below are currently supported with bug fixes and new feature | Plugin Version | Supported | | ------- | ------------------ | -| 1.0.x | :white_check_mark: | +| 1.x | :white_check_mark: | | Minecraft Version | Supported | | ----------------- | --------- | diff --git a/build.gradle.kts b/build.gradle.kts index 376040d..c0590ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,8 +2,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { java - id("com.github.johnrengelman.shadow") version "7.1.0" - kotlin("jvm") version "1.6.0" + id("com.github.johnrengelman.shadow") version "7.1.1" + kotlin("jvm") version "1.6.10" } group = "dev.thelecrafter.plugins.ambientstars" @@ -19,12 +19,12 @@ repositories { } dependencies { - compileOnly("io.papermc.paper:paper-api:1.18-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT") compileOnly("com.mojang:authlib:1.5.25") - implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.0") + implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.10") implementation("io.papermc:paperlib:1.0.7") - implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0") - implementation("io.github.classgraph:classgraph:4.8.137") + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10") + implementation("io.github.classgraph:classgraph:4.8.138") implementation("org.kohsuke:github-api:1.301") }