Refactor reflections and use MinecraftReflection
This commit is contained in:
parent
295eb77452
commit
8a855d6935
34 changed files with 305 additions and 1148 deletions
|
|
@ -4,6 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
group = 'net.frankheijden.serverutils'
|
||||
String dependencyDir = group + '.dependencies'
|
||||
version = '2.2.4-DEV'
|
||||
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
|
@ -17,11 +18,14 @@ subprojects {
|
|||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url 'https://repo.aikar.co/content/groups/aikar/' }
|
||||
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.FrankHeijden:MinecraftReflection:1.0.0'
|
||||
|
||||
testCompile 'org.assertj:assertj-core:3.18.1'
|
||||
testCompile 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
||||
testCompile 'org.junit.jupiter:junit-jupiter-params:5.7.0'
|
||||
|
|
@ -60,4 +64,8 @@ dependencies {
|
|||
implementation project(path: ':Bungee', configuration: 'shadow')
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
relocate 'dev.frankheijden.minecraftreflection', dependencyDir + '.minecraftreflection'
|
||||
}
|
||||
|
||||
build.dependsOn shadowJar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue