mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
This introduces two new artifacts forge-examiner: A new mod locator that allows for a single directory to be split into multiple modules forge-tests: Our test mods, showing examples of data gen, game tests, and various Forge features Adds a new system useful for projects with multiple sub-projects that use datagen
26 lines
525 B
Groovy
26 lines
525 B
Groovy
plugins {
|
|
id 'net.minecraftforge.forge.build.convention'
|
|
}
|
|
|
|
gradleutils.displayName = 'Forge-Tests'
|
|
description = 'Mods used for testing Forge features'
|
|
|
|
license {
|
|
exclude 'com/example/'
|
|
}
|
|
|
|
convention.manifest('net/minecraftforge/forge/test/', [
|
|
'Automatic-Module-Name': 'net.minecraftforge.forge.test'
|
|
])
|
|
convention.manifest('net/minecraftforge/forge/debug/')
|
|
|
|
convention.publish()
|
|
|
|
convention.basicRuns('.+', file('src/main/generated')) {
|
|
flat = false
|
|
}
|
|
|
|
dependencies {
|
|
api project(':forge-examiner')
|
|
}
|