-
Notifications
You must be signed in to change notification settings - Fork 3
升級至 Java 25 + 更新 GitHub Actions SHA pin #332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
dae8814
fbfb382
52ebaaa
0e6c5f1
522ac0c
0af0435
fa24351
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,9 +2,9 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget | |
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
|
||
| plugins { | ||
| kotlin("jvm") version "2.3.0" | ||
| kotlin("kapt") version "2.3.0" | ||
| id("com.gradleup.shadow") version "9.3.0" | ||
| kotlin("jvm") version "2.3.20" | ||
| kotlin("kapt") version "2.3.20" | ||
| id("com.gradleup.shadow") version "9.4.1" | ||
| } | ||
|
|
||
| group = "one.oktw" | ||
|
|
@@ -22,19 +22,19 @@ repositories { | |
| } | ||
|
|
||
| dependencies { | ||
| kapt("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") | ||
| compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") | ||
| implementation("io.fabric8:kubernetes-client:7.4.0") | ||
| implementation("io.fabric8:kubernetes-httpclient-okhttp:7.4.0") | ||
| kapt("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT") | ||
| compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT") | ||
| implementation("io.fabric8:kubernetes-client:7.6.1") | ||
| implementation("io.fabric8:kubernetes-httpclient-okhttp:7.6.1") | ||
| implementation("com.github.fkorotkov:k8s-kotlin-dsl:3.5.0") | ||
| implementation("io.lettuce:lettuce-core:6.8.2.RELEASE") | ||
| implementation("io.lettuce:lettuce-core:7.5.1.RELEASE") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gemini-code-assist 有來源嗎,我目前在最新版本中仍看到 .RELEASE 字樣 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 您說得對,Lettuce 確實仍在發布帶有 我之前的建議是基於 Lettuce 專案在 GitHub Release 頁面 上逐漸減少使用該後綴的趨勢,以及許多現代 Java 專案傾向於簡化版本號的慣例。不過,既然官方 Maven 倉庫中確實存在 |
||
| implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactive")// lettuce need this | ||
| implementation("one.oktw:galaxy-lib:2235da5") | ||
| implementation("one.oktw:galaxy-lib:9546e40") | ||
| } | ||
|
|
||
| tasks.withType<KotlinCompile>().configureEach { | ||
| compilerOptions { | ||
| jvmTarget = JvmTarget.JVM_21 | ||
| jvmTarget = JvmTarget.JVM_25 | ||
| } | ||
| } | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
由於專案在
shadowJar任務中啟用了minimize()功能(見第 48 行),建議將io.fabric8:kubernetes-httpclient-okhttp也加入排除名單。Fabric8 的 HTTP 客戶端實作通常是透過ServiceLoader機制動態載入的,若未顯式排除,最小化過程會因偵測不到直接引用而將其移除,導致程式執行時出現No HTTP client implementation found錯誤。