Skip to content

Commit

Permalink
Changed Adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
cooffeeRequired committed Dec 23, 2022
1 parent aff3b3d commit aa0a56f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,30 +90,30 @@ tasks.withType(JavaCompile).configureEach {
options.compilerArgs += ["-source", "16", "-target", "16"]
}

tasks.register('release') {
dependsOn(relocateShadowJar)
[
'A:/plugins/sk-gson/',
'A:/Bukkit-Core/purpur/dev-latest/plugins',
'A:/workspaces/latest//plugins'].each { destination ->
copy {
shadowJar
from jar
into destination
}
}
}

task cleanOlds {
[
'A:/plugins/sk-gson/',
'A:/Bukkit-Core/purpur/dev-latest/plugins',
'A:/workspaces/latest//plugins'].each { destination ->
def tree = fileTree(destination)
tree.include('**/skript-gson*.jar')
tree.each { it.delete() }
}
}
//tasks.register('release') {
// dependsOn(relocateShadowJar)
// [
// 'A:/plugins/sk-gson/',
// 'A:/Bukkit-Core/purpur/dev-latest/plugins',
// 'A:/workspaces/latest//plugins'].each { destination ->
// copy {
// shadowJar
// from jar
// into destination
// }
// }
//}
//
//task cleanOlds {
// [
// 'A:/plugins/sk-gson/',
// 'A:/Bukkit-Core/purpur/dev-latest/plugins',
// 'A:/workspaces/latest//plugins'].each { destination ->
// def tree = fileTree(destination)
// tree.include('**/skript-gson*.jar')
// tree.each { it.delete() }
// }
//}

shadowJar {
relocate 'com.google.gson', 'cz.coffee.skriptgson.gson'
Expand Down

0 comments on commit aa0a56f

Please sign in to comment.