Skip to content

Commit

Permalink
fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Maru32768 committed Jan 9, 2023
1 parent 43accf7 commit 0d6eff4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion bukkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies {
implementation group: "com.google.guava", name: "guava", version: '30.0-android'
implementation 'org.codehaus.plexus:plexus-utils:3.5.0'
implementation 'com.google.code.gson:gson:2.10'
implementation group: "org.apache.poi", name: "poi", version: "5.1.0"
implementation 'org.apache.commons:commons-lang3:3.12.0'
compileOnly "com.github.TeamKun.CommandLib:bukkit:0.12.0"
compileOnly "com.mojang:brigadier:1.0.18"
Expand Down
1 change: 0 additions & 1 deletion bukkit/test_plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dependencies {
implementation group: "com.google.guava", name: "guava", version: '30.0-android'
implementation 'org.codehaus.plexus:plexus-utils:3.5.0'
implementation 'com.google.code.gson:gson:2.10'
implementation group: "org.apache.poi", name: "poi", version: "5.1.0"
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation "com.github.TeamKun.CommandLib:bukkit:0.12.0"
}
Expand Down
10 changes: 5 additions & 5 deletions bukkit/test_plugin/server/server.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Minecraft server properties
#Mon Jan 09 09:32:27 JST 2023
#Mon Jan 09 13:20:15 JST 2023
spawn-protection=16
max-tick-time=-1
query.port=25565
Expand Down Expand Up @@ -42,12 +42,12 @@ spawn-animals=true
white-list=false
rcon.password=
generate-structures=true
online-mode=false
max-build-height=256
online-mode=false
level-seed=
prevent-proxy-connections=false
use-native-transport=true
prevent-proxy-connections=false
enable-jmx-monitoring=false
rate-limit=0
motd=A Minecraft Server
enable-rcon=false
motd=A Minecraft Server
rate-limit=0
1 change: 0 additions & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dependencies {
compileOnly 'org.apache.commons:commons-lang3:3.12.0'
compileOnly group: "com.google.guava", name: "guava", version: '30.0-android'
compileOnly 'com.google.code.gson:gson:2.8.9'
compileOnly group: "org.apache.poi", name: "poi", version: "5.1.0"
compileOnly 'org.codehaus.plexus:plexus-utils:3.5.0'
compileOnly 'org.jetbrains:annotations:20.1.0'
// commonだとコマンド周りを上手く実装出来ないためbukkitを使う
Expand Down
3 changes: 0 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ repositories {
dependencies {
minecraft 'net.minecraftforge:forge:1.16.5-36.2.31'
implementation project(":common")
implementation group: "org.apache.poi", name: "poi", version: '5.2.2'
implementation 'org.codehaus.plexus:plexus-utils:3.5.0'
implementation group: "com.google.guava", name: "guava", version: '30.0-android'
implementation 'com.google.code.gson:gson:2.10'
Expand All @@ -33,13 +32,11 @@ dependencies {

shadowJar {
dependencies {
include(dependency("org.apache.poi:poi:.*"))
include(dependency("org.codehaus.plexus:plexus-utils:.*"))
include(dependency("com.google.guava:guava:.*"))
include(dependency("com.google.code.gson:gson:.*"))
include(project(":common"))
}
relocate "org.apache", "${project.group}.${rootProject.name.toLowerCase()}.shadow.org.apache"
relocate "org.codehaus", "${project.group}.${rootProject.name.toLowerCase()}.shadow.org.codehaus"
relocate "com.google", "${project.group}.${rootProject.name.toLowerCase()}.shadow.com.google"
}
Expand Down

0 comments on commit 0d6eff4

Please sign in to comment.