Add runtime mods to datagen classpath
This commit is contained in:
@@ -46,12 +46,12 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew --no-daemon build
|
run: ./gradlew --no-daemon build
|
||||||
|
|
||||||
- name: Run data generation
|
|
||||||
run: ./gradlew --no-daemon runData
|
|
||||||
|
|
||||||
- name: Prepare runtime dependency mods
|
- name: Prepare runtime dependency mods
|
||||||
run: python tools/prepare_runtime_mods.py
|
run: python tools/prepare_runtime_mods.py
|
||||||
|
|
||||||
|
- name: Run data generation
|
||||||
|
run: ./gradlew --no-daemon runData
|
||||||
|
|
||||||
- name: Dedicated server smoke test
|
- name: Dedicated server smoke test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ repositories {
|
|||||||
name = 'NeoForge'
|
name = 'NeoForge'
|
||||||
url = 'https://maven.neoforged.net/releases'
|
url = 'https://maven.neoforged.net/releases'
|
||||||
}
|
}
|
||||||
|
flatDir {
|
||||||
|
dirs 'run/server/mods', 'ci/required-mods'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
@@ -39,6 +42,8 @@ configurations {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "net.neoforged:neoforge:${neo_version}"
|
implementation "net.neoforged:neoforge:${neo_version}"
|
||||||
|
localRuntime fileTree(dir: 'run/server/mods', include: ['*.jar'])
|
||||||
|
localRuntime fileTree(dir: 'ci/required-mods', include: ['*.jar'])
|
||||||
}
|
}
|
||||||
|
|
||||||
runs {
|
runs {
|
||||||
|
|||||||
Reference in New Issue
Block a user