Skip to content

Commit

Permalink
fix: proxy task circular set issue (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jire authored Nov 26, 2024
1 parent 516a1f7 commit 49793ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
import java.security.MessageDigest
import kotlin.io.path.fileSize

val mainClass = "net.rsprox.gui.ProxyToolGuiKt"
val guiMainClass = "net.rsprox.gui.ProxyToolGuiKt"
val s3Bucket = "cdn.rsprox.net"

plugins {
Expand Down Expand Up @@ -159,7 +159,7 @@ tasks.register("uploadJarsToS3") {
}

val bootstrap = Bootstrap(
proxy = Proxy(version = project.version.toString(), mainClass = mainClass),
proxy = Proxy(version = project.version.toString(), mainClass = guiMainClass),
artifacts = artifacts.sortedBy { it.name },
)

Expand All @@ -172,7 +172,7 @@ tasks.create<JavaExec>("proxy") {
environment("APP_VERSION", project.version)
group = "run"
classpath = sourceSets["main"].runtimeClasspath
mainClass.set(mainClass)
mainClass.set(guiMainClass)
}

tasks.create<JavaExec>("download") {
Expand Down

0 comments on commit 49793ef

Please sign in to comment.