Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeCrafter committed Dec 15, 2021
2 parents 3eb540c + 6810435 commit 7af2697
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ----------------- | --------- |
Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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")
}

Expand Down

0 comments on commit 7af2697

Please sign in to comment.