Skip to content

Commit e4e5e0b

Browse files
committed
shade paperlib into adapt
1 parent 8ba7dcc commit e4e5e0b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ allprojects {
123123
implementation 'com.github.VolmitDev:Spatial:22.11.1'
124124
implementation 'net.byteflux:libby-velocity:1.3.1'
125125

126-
compileOnly "io.papermc:paperlib:1.0.7"
127-
compileOnly 'com.github.ben-manes.caffeine:caffeine:3.0.6'
126+
implementation "io.papermc:paperlib:1.0.7"
128127
annotationProcessor 'systems.manifold:manifold-ext:' + manifoldVersion
129128
testAnnotationProcessor 'systems.manifold:manifold-ext:' + manifoldVersion
130129
implementation 'systems.manifold:manifold-rt:' + manifoldVersion
@@ -156,6 +155,7 @@ allprojects {
156155
compileOnly 'it.unimi.dsi:fastutil:8.5.13'
157156
compileOnly "fr.skytasul:glowingentities:1.4.3"
158157
compileOnly 'com.google.guava:guava:30.1-jre'
158+
compileOnly 'com.github.ben-manes.caffeine:caffeine:3.0.6'
159159
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
160160
}
161161
}
@@ -186,13 +186,15 @@ shadowJar {
186186
relocate 'com.fren_gor.ultimateAdvancementAPI', 'com.volmit.adapt.util.advancements'
187187
relocate 'net.byteflux.libby', 'com.volmit.adapt.util.libby'
188188
relocate 'com.jeff_media.customblockdata', 'com.volmit.util.customblocks'
189+
relocate 'io.papermc.lib', 'com.volmit.util.paperlib'
189190
dependencies {
190191
include(dependency('systems.manifold:'))
191192
include(dependency('xyz.xenondevs:'))
192193
include(dependency('com.github.VolmitDev:'))
193194
include(dependency('com.frengor:ultimateadvancementapi-shadeable:'))
194195
include(dependency('net.byteflux:'))
195196
include(dependency('com.jeff-media:custom-block-data:'))
197+
include(dependency('io.papermc:paperlib:'))
196198
}
197199
}
198200

@@ -202,7 +204,7 @@ configurations.configureEach {
202204
}
203205

204206
dependencies {
205-
implementation 'org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT'
207+
compileOnly 'org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT'
206208
}
207209

208210
if (JavaVersion.current().toString() != "17") {

0 commit comments

Comments
 (0)