This commit is contained in:
Color_yr committed 2025-12-25 13:41:30 +08:00
1 parent 272375ff54
commit a2e8181c7d
289 files changed
+74 -416

No files matched your search

+22 -264
View File
@@ -105,50 +105,6 @@ jobs:
with:
name: "allmusic_server_fabric_1_16_5"
path: build/libs/
build_fabric_1_18_2:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_18_2 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_18_2"
path: build/libs/
build_fabric_1_19_2:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_19_2 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_19_2"
path: build/libs/
build_fabric_1_20_1:
runs-on: windows-latest
permissions:
@@ -171,50 +127,6 @@ jobs:
with:
name: "allmusic_server_fabric_1_20_1"
path: build/libs/
build_fabric_1_20_2:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_20_2 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_20_2"
path: build/libs/
build_fabric_1_20_6:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_20_6 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_20_6"
path: build/libs/
build_fabric_1_21:
runs-on: windows-latest
permissions:
@@ -237,50 +149,6 @@ jobs:
with:
name: "allmusic_server_fabric_1_21"
path: build/libs/
build_fabric_1_21_4:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_21_4 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_21_4"
path: build/libs/
build_fabric_1_21_5:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_1_21_5 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_1_21_5"
path: build/libs/
build_fabric_1_21_6:
runs-on: windows-latest
permissions:
@@ -303,6 +171,28 @@ jobs:
with:
name: "allmusic_server_fabric_1_21_6"
path: build/libs/
build_fabric_26_1:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd fabric_26_1 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_fabric_26_1"
path: build/libs/
build_forge_1_7_10:
runs-on: windows-latest
permissions:
@@ -369,50 +259,6 @@ jobs:
with:
name: "allmusic_server_forge_1_16_5"
path: build/libs/
build_forge_1_18_2:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd forge_1_18_2 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_forge_1_18_2"
path: build/libs/
build_forge_1_19_2:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd forge_1_19_2 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_forge_1_19_2"
path: build/libs/
build_forge_1_20_1:
runs-on: windows-latest
permissions:
@@ -435,50 +281,6 @@ jobs:
with:
name: "allmusic_server_forge_1_20_1"
path: build/libs/
build_neoforge_1_20_4:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd neoforge_1_20_4 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_neoforge_1_20_4"
path: build/libs/
build_neoforge_1_20_5:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd neoforge_1_20_5 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_neoforge_1_20_5"
path: build/libs/
build_neoforge_1_21:
runs-on: windows-latest
permissions:
@@ -501,50 +303,6 @@ jobs:
with:
name: "allmusic_server_neoforge_1_21"
path: build/libs/
build_neoforge_1_21_4:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd neoforge_1_21_4 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_neoforge_1_21_4"
path: build/libs/
build_neoforge_1_21_5:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0
- name: build
shell: cmd
run: |
link.cmd && cd neoforge_1_21_5 && gradlew build
- name: update
uses: actions/upload-artifact@v4
with:
name: "allmusic_server_neoforge_1_21_5"
path: build/libs/
build_neoforge_1_21_6:
runs-on: windows-latest
permissions:
+11 -24
View File
@@ -5,32 +5,19 @@ setlocal enabledelayedexpansion
set "PROJECTS[0]=forge_1_7_10"
set "PROJECTS[1]=forge_1_12_2"
set "PROJECTS[2]=forge_1_16_5"
set "PROJECTS[3]=forge_1_18_2"
set "PROJECTS[4]=forge_1_19_2"
set "PROJECTS[5]=forge_1_20_1"
set "PROJECTS[3]=forge_1_20_1"
set "PROJECTS[4]=neoforge_1_21"
set "PROJECTS[5]=neoforge_1_21_6"
set "PROJECTS[6]=fabric_1_16_5"
set "PROJECTS[7]=fabric_1_18_2"
set "PROJECTS[8]=fabric_1_19_2"
set "PROJECTS[9]=fabric_1_19_3"
set "PROJECTS[10]=fabric_1_20_1"
set "PROJECTS[11]=fabric_1_20_2"
set "PROJECTS[12]=fabric_1_20_6"
set "PROJECTS[13]=fabric_1_21"
set "PROJECTS[14]=fabric_1_21_4"
set "PROJECTS[15]=fabric_1_21_5"
set "PROJECTS[16]=fabric_1_21_6"
set "PROJECTS[17]=fabric_26_1"
set "PROJECTS[18]=neoforge_1_20_4"
set "PROJECTS[19]=neoforge_1_20_6"
set "PROJECTS[20]=neoforge_1_21"
set "PROJECTS[21]=neoforge_1_21_4"
set "PROJECTS[22]=neoforge_1_21_5"
set "PROJECTS[23]=neoforge_1_21_6"
set "PROJECTS[24]=folia"
set "PROJECTS[25]=server"
set "PROJECTS[26]=server_top"
set "PROJECTS[7]=fabric_1_20_1"
set "PROJECTS[8]=fabric_1_21"
set "PROJECTS[9]=fabric_1_21_6"
set "PROJECTS[10]=fabric_26_1"
set "PROJECTS[11]=folia"
set "PROJECTS[12]=server"
set "PROJECTS[13]=server_top"
set /a ARRAY_LENGTH=26
set /a ARRAY_LENGTH=13
cls
+2 -15
View File
@@ -5,27 +5,14 @@ $projects = @(
"forge_1_7_10",
"forge_1_12_2",
"forge_1_16_5",
"forge_1_18_2",
"forge_1_19_2",
"forge_1_20_1",
"neoforge_1_21",
"neoforge_1_21_6",
"fabric_1_16_5",
"fabric_1_18_2",
"fabric_1_19_2",
"fabric_1_19_3",
"fabric_1_20_1",
"fabric_1_20_2",
"fabric_1_20_6",
"fabric_1_21",
"fabric_1_21_4",
"fabric_1_21_5",
"fabric_1_21_6",
"fabric_26_1",
"neoforge_1_20_4",
"neoforge_1_20_6",
"neoforge_1_21",
"neoforge_1_21_4",
"neoforge_1_21_5",
"neoforge_1_21_6",
"folia",
"server",
"server_top"
+4 -17
View File
@@ -5,27 +5,14 @@ projects=(
"forge_1_7_10"
"forge_1_12_2"
"forge_1_16_5"
"forge_1_18_2"
"forge_1_19_2"
"forge_1_20"
"forge_1_20_1"
"neoforge_1_21"
"neoforge_1_21_6"
"fabric_1_16_5"
"fabric_1_18_2"
"fabric_1_19_2"
"fabric_1_19_3"
"fabric_1_20"
"fabric_1_20_2"
"fabric_1_20_6"
"fabric_1_20_1"
"fabric_1_21"
"fabric_1_21_4"
"fabric_1_21_5"
"fabric_1_21_6"
"fabric_26_1"
"neoforge_1_20_4"
"neoforge_1_20_6"
"neoforge_1_21"
"neoforge_1_21_4"
"neoforge_1_21_5"
"neoforge_1_21_6"
"folia"
"server"
"server_top"
+1 -1
View File
@@ -148,7 +148,7 @@ dependencies {
implementation 'thedarkcolour:kotlinforforge:1.17.0'
shadow 'com.squareup.okhttp3:okhttp:5.3.2'
shadow('com.squareup.okio:okio-jvm:3.16.4')
shadow 'com.squareup.okio:okio-jvm:3.16.4'
shadow 'org.xerial:sqlite-jdbc:3.51.1.0'
// You may put jars on which you depend on in ./libs or you may define them like so..
+5 -17
View File
@@ -4,27 +4,15 @@ mkdir "build\libs"
setlocal enabledelayedexpansion
set array=folia server_top server forge_1_20_1 ^
forge_1_19_2 forge_1_18_2 forge_1_16_5 forge_1_12_2 forge_1_7_10 ^
fabric_1_20_2 fabric_1_20_1 fabric_1_19_3 fabric_1_19_2 fabric_1_18_2 ^
fabric_1_16_5 fabric_1_20_6 fabric_1_21 neoforge_1_20_4 neoforge_1_20_5 neoforge_1_21 ^
neoforge_1_21_4 fabric_1_21_4 fabric_1_21_5 neoforge_1_21_5 fabric_1_21_6 neoforge_1_21_6 ^
fabric_26_1
set array=folia server_top server ^
fabric_1_16_5 fabric_1_20_1 fabric_1_21 fabric_1_21_6 fabric_26_1 ^
forge_1_7_10 forge_1_12_2 forge_1_16_5 forge_1_20_1 ^
neoforge_1_21 neoforge_1_21_6
for %%i in (%array%) do (
if not exist "%%i\src\main\java\com\coloryr\allmusic\server\core" mklink /j "%%i\src\main\java\com\coloryr\allmusic\server\core" "core"
if not exist "%%i\build" mkdir "%%i\build" && mklink /j "%%i\build\libs" "build\libs"
)
set array1=folia server_top forge_1_20_1 ^
forge_1_19_2 forge_1_18_2 forge_1_16_5 forge_1_12_2 forge_1_7_10 ^
fabric_1_20_2 fabric_1_20_1 fabric_1_19_3 fabric_1_19_2 fabric_1_18_2 ^
fabric_1_16_5 fabric_1_20_6 fabric_1_21 neoforge_1_20_4 neoforge_1_20_5 neoforge_1_21 ^
neoforge_1_21_4 fabric_1_21_4 fabric_1_21_5 neoforge_1_21_5 fabric_1_21_6 neoforge_1_21_6 ^
fabric_26_1
for %%i in (%array1%) do (
if not exist "%%i\src\main\java\com\coloryr\allmusic\server\codec" mklink /j "%%i\src\main\java\com\coloryr\allmusic\server\codec" "codec"
if not exist "%%i\build" mkdir "%%i\build" && mklink /j "%%i\build\libs" "build\libs"
)
set array2=folia server_top server
+9 -23
View File
@@ -6,12 +6,10 @@ if (-not (Test-Path -Path $buildLibs)) {
# 定义模块数组
$array = @(
"folia", "server_top", "server", "forge_1_20_1",
"forge_1_19_2", "forge_1_18_2", "forge_1_16_5", "forge_1_12_2", "forge_1_7_10",
"fabric_1_20_2", "fabric_1_20_1", "fabric_1_19_3", "fabric_1_19_2", "fabric_1_18_2",
"fabric_1_16_5", "fabric_1_20_6", "fabric_1_21", "neoforge_1_20_4", "neoforge_1_20_5", "neoforge_1_21",
"neoforge_1_21_4", "fabric_1_21_4", "fabric_1_21_5", "neoforge_1_21_5", "fabric_1_21_6", "neoforge_1_21_6",
"fabric_26_1"
"folia", "server_top", "server",
"fabric_1_16_5", "fabric_1_20_1", "fabric_1_21", "fabric_1_21_6", "fabric_26_1",
"forge_1_7_10", "forge_1_12_2", "forge_1_16_5", "forge_1_20_1",
"neoforge_1_21", "neoforge_1_21_6"
)
# 处理核心链接和库链接
@@ -22,6 +20,11 @@ foreach ($module in $array) {
New-Item -Path $coreLink -ItemType Junction -Value "core" -Force | Out-Null
}
$codecLink = "$module\src\main\java\com\coloryr\allmusic\server\codec"
if (-not (Test-Path -Path $codecLink)) {
New-Item -Path $codecLink -ItemType Junction -Value "codec" -Force | Out-Null
}
# 创建 build 目录和 libs 链接
$buildDir = "$module\build"
if (-not (Test-Path -Path $buildDir)) {
@@ -31,23 +34,6 @@ foreach ($module in $array) {
}
}
# 定义需要 codec 链接的模块
$array1 = @(
"folia", "server_top", "forge_1_20_1",
"forge_1_19_2", "forge_1_18_2", "forge_1_16_5", "forge_1_12_2", "forge_1_7_10",
"fabric_1_20_2", "fabric_1_20_1", "fabric_1_19_3", "fabric_1_19_2", "fabric_1_18_2",
"fabric_1_16_5", "fabric_1_20_6", "fabric_1_21", "neoforge_1_20_4", "neoforge_1_20_5", "neoforge_1_21",
"neoforge_1_21_4", "fabric_1_21_4", "fabric_1_21_5", "neoforge_1_21_5", "fabric_1_21_6", "neoforge_1_21_6"
)
# 创建 codec 符号链接
foreach ($module in $array1) {
$codecLink = "$module\src\main\java\com\coloryr\allmusic\server\codec"
if (-not (Test-Path -Path $codecLink)) {
New-Item -Path $codecLink -ItemType Junction -Value "codec" -Force | Out-Null
}
}
# 定义需要 bstats 链接的模块
$array2 = @("folia", "server_top", "server")
+10 -19
View File
@@ -4,10 +4,10 @@
mkdir -p "build/libs"
# 定义模块数组
array="folia server_top server forge_1_20_1 forge_1_19_2 forge_1_18_2 forge_1_16_5 forge_1_12_2 \
forge_1_7_10 fabric_1_20_2 fabric_1_20_1 fabric_1_19_3 fabric_1_19_2 fabric_1_18_2 fabric_1_16_5 \
fabric_1_20_6 fabric_1_21 neoforge_1_20_4 neoforge_1_20_5 neoforge_1_21 neoforge_1_21_4 fabric_1_21_4 \
fabric_1_21_5 neoforge_1_21_5 fabric_1_21_6 neoforge_1_21_6 fabric_26_1"
array="folia server_top server \
fabric_1_16_5 fabric_1_20_1 fabric_1_21 fabric_1_21_6 fabric_26_1 \
forge_1_7_10 forge_1_12_2 forge_1_16_5 forge_1_20_1 \
neoforge_1_21 neoforge_1_21_6"
# 处理核心链接和库链接
for module in $array; do
@@ -17,6 +17,12 @@ for module in $array; do
mkdir -p "$(dirname "$core_link")"
ln -s "../../../../../../../../core" "$core_link"
fi
codec_link="$module/src/main/java/com/coloryr/allmusic/server/codec"
if [ ! -e "$codec_link" ]; then
mkdir -p "$(dirname "$codec_link")"
ln -s "../../../../../../../../codec" "$codec_link"
fi
# 创建 build 目录和 libs 链接
build_dir="$module/build"
@@ -26,21 +32,6 @@ for module in $array; do
fi
done
# 定义需要 codec 链接的模块
array1="folia server_top forge_1_20_1 forge_1_19_2 forge_1_18_2 forge_1_16_5 forge_1_12_2 forge_1_7_10 \
fabric_1_20_2 fabric_1_20_1 fabric_1_19_3 fabric_1_19_2 fabric_1_18_2 fabric_1_16_5 fabric_1_20_6 \
fabric_1_21 neoforge_1_20_4 neoforge_1_20_5 neoforge_1_21 neoforge_1_21_4 fabric_1_21_4 fabric_1_21_5 \
neoforge_1_21_5 fabric_1_21_6 neoforge_1_21_6"
# 创建 codec 符号链接
for module in $array1; do
codec_link="$module/src/main/java/com/coloryr/allmusic/server/codec"
if [ ! -e "$codec_link" ]; then
mkdir -p "$(dirname "$codec_link")"
ln -s "../../../../../../../../codec" "$codec_link"
fi
done
# 定义需要 bstats 链接的模块
array2="folia server_top server"
-4
View File
@@ -120,10 +120,6 @@ dependencies {
implementation('com.squareup.okio:okio-jvm:3.16.4')
implementation('org.xerial:sqlite-jdbc:3.51.1.0')
// jarJar (group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: '[2.0, 2.1)')
// jarJar (group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk7', version: '[2.0, 2.1)')
// jarJar (group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '[2.0, 2.1)')
// jarJar (group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-common', version: '[2.0, 2.1)')
jarJar(group: 'com.squareup.okhttp3', name: 'okhttp', version: '[5.3.2,6.0)')
jarJar(group: 'com.squareup.okio', name: 'okio-jvm', version: '[3.16.4,4.0)')
jarJar(group: 'org.xerial', name: 'sqlite-jdbc', version: '[3.51.1.0,4.0)')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 289 files, more files were not shown because too many files have changed in this diff. Show more