Skip to content

Commit

Permalink
Fix module bungee, velocity compatibility with new build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
bivashy committed Mar 20, 2023
1 parent 86814ce commit 602ebab
Showing 1 changed file with 27 additions and 31 deletions.
58 changes: 27 additions & 31 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,44 +1,40 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

group 'ru.nanit'
version '1.5.1'

compileJava {
options.encoding = "UTF-8"
}

tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
allprojects {
group 'ru.nanit'
version '1.5.1'
}

repositories {
mavenCentral()
}
subprojects {
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
compileJava {
options.encoding = "UTF-8"
}

implementation 'org.spongepowered:configurate-yaml:4.1.2'
implementation 'io.netty:netty-all:4.1.85.Final'
implementation 'net.kyori:adventure-nbt:4.12.0'
implementation 'com.grack:nanojson:1.7'
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

shadowJar {
from 'LICENSE'
repositories {
mavenCentral()
}

manifest {
attributes('Main-Class': 'ua.nanit.limbo.NanoLimbo')
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
}

minimize()
}
shadowJar {
from 'LICENSE'
minimize()
}

test {
useJUnitPlatform()
}
test {
useJUnitPlatform()
}
}

0 comments on commit 602ebab

Please sign in to comment.