Skip to content

Commit

Permalink
fix(shulker-server-agent): use new agones package
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylvln committed Nov 13, 2023
1 parent e700916 commit 1adac9b
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.shulkermc.proxyagent

import dev.agones.AgonesSDK
import dev.agones.AgonesSDKImpl
import com.agones.dev.sdk.AgonesSDK
import com.agones.dev.sdk.AgonesSDKImpl
import io.shulkermc.proxyagent.adapters.cache.CacheAdapter
import io.shulkermc.proxyagent.adapters.cache.RedisCacheAdapter
import io.shulkermc.proxyagent.adapters.filesystem.FileSystemAdapter
Expand Down
4 changes: 4 additions & 0 deletions packages/shulker-server-agent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ tasks.named("processPaperResources", ProcessResources::class.java) {
inputs.property("version", project.version)
expand("version" to project.version)
}

tasks.withType(ShadowJar::class.java) {
relocate("com.google.protobuf", "shulker.protobuf")
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.shulkermc.serveragent

import dev.agones.AgonesSDK
import dev.agones.AgonesSDKImpl
import com.agones.dev.sdk.AgonesSDK
import com.agones.dev.sdk.AgonesSDKImpl
import io.shulkermc.serveragent.api.ShulkerServerAPI
import io.shulkermc.serveragent.api.ShulkerServerAPIImpl
import io.shulkermc.serveragent.tasks.HealthcheckTask
Expand All @@ -14,8 +14,6 @@ class ShulkerServerAgentCommon(val serverInterface: ServerInterface, private val
companion object {
private const val SUMMON_LABEL_NAME = "shulkermc.io/summoned"
private const val SUMMON_TIMEOUT_MINUTES = 5L

private const val HEALTHCHECK_DELAY_SECONDS = 10L
}

lateinit var agonesGateway: AgonesSDK
Expand Down

0 comments on commit 1adac9b

Please sign in to comment.