Skip to content

Commit

Permalink
Removed NMS, removed cube, updated to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
DoggySazHi committed Jun 4, 2024
1 parent 2d20988 commit 8643d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: JDK 17 setup
- name: JDK 21 setup
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
Expand Down
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'maven-publish'
id 'io.papermc.paperweight.userdev' version '1.7.1'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down Expand Up @@ -32,15 +31,15 @@ dependencies {
implementation "com.mysql:mysql-connector-j:8.3.0"
implementation "org.apache.commons:commons-dbcp2:2.11.0"
implementation "org.apache.commons:commons-pool2:2.12.0" // can't reload plugin without this
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT")
compileOnly "io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT"
}

shadowJar {
project.configurations.runtimeClasspath.canBeResolved = true
configurations = [project.configurations.runtimeClasspath]
}

def targetJavaVersion = 17
def targetJavaVersion = 21
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
Expand All @@ -56,10 +55,6 @@ tasks.withType(JavaCompile).configureEach {
}
}

tasks.assemble {
dependsOn(reobfJar)
}

processResources {
def props = [version: version]
inputs.properties props
Expand Down

0 comments on commit 8643d69

Please sign in to comment.