Skip to content

Commit 9e2c58f

Browse files
committed
fix: update version to 1.1.9 and add relocations for surf-cloud-api-common dependency
1 parent a377d03 commit 9e2c58f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

surf-api-gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
}
1919

2020
group = groupId
21-
version = "$mcVersion-1.1.8"
21+
version = "$mcVersion-1.1.9"
2222

2323
repositories {
2424
mavenCentral()

surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/surfapi/gradle/platform/common/CommonSurfPlugin.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ abstract class CommonSurfPlugin<E : CommonSurfExtension>(
3737
private val relocations = mutableMapOf<String, String>()
3838
private val dependencyDependentRelocations = mutableMapOf<String, MutableMap<String, String>>()
3939

40+
init {
41+
addRelocationsForDependency(
42+
"surf-cloud-api-common",
43+
"io.netty" to "dev.slne.surf.cloud.netty"
44+
)
45+
}
46+
4047
protected abstract fun createExtension(objects: ObjectFactory, project: Project): E
4148

4249
override fun apply(target: Project) = with(target) {

surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/surfapi/gradle/platform/core/CoreSurfPlugin.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ import org.gradle.api.model.ObjectFactory
77

88
internal abstract class AbstractCoreSurfPlugin<E : CoreSurfExtension>(
99
platformName: String, platform: SurfApiPlatform,
10-
) : CommonSurfPlugin<E>(platformName, platform) {
11-
init {
12-
addRelocationsForDependency(
13-
"surf-cloud-api-common",
14-
"io.netty" to "dev.slne.surf.cloud.netty"
15-
)
16-
}
17-
}
10+
) : CommonSurfPlugin<E>(platformName, platform)
1811

1912
internal class CoreSurfPlugin :
2013
AbstractCoreSurfPlugin<CoreSurfExtension>("core", SurfApiPlatform.CORE) {

0 commit comments

Comments
 (0)