mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 03:31:32 +00:00
Use the sibling IrisModule as the built-in source owner
Remove the misplaced modules/default tree and point joint compilation, ownership validation, purity scans, source lookup, archives and modded shared source inputs at ../IrisModule. Actual feature sources now live directly in that sibling project, whose old examples and symlink view were replaced. Validation: all 388 source hashes are unchanged, module check and the 37-test source/pack/purity slice pass, source archives match, and the production Bukkit artifact verifies. IrisModule itself remains outside this Git repository.
This commit is contained in:
1 parent
5544c96bc5
commit
efc1320923
395 files changed
+8
-55865
No files matched your search
@@ -2,7 +2,7 @@ import org.gradle.api.tasks.bundling.Jar
|
||||
|
||||
// The first extraction keeps the legacy host/feature dependency cycle intact. Compile both
|
||||
// source roots together until the built-ins have been ported to the public IrisApi contracts.
|
||||
File defaultModuleDirectory = rootProject.file('modules/default')
|
||||
File defaultModuleDirectory = rootProject.file('../IrisModule')
|
||||
File defaultModuleSources = new File(defaultModuleDirectory, 'src/main/java')
|
||||
File sourcePatternsFile = new File(defaultModuleDirectory, 'source-patterns.txt')
|
||||
List<String> featureSourcePatterns = sourcePatternsFile.readLines().findAll { !it.isBlank() }
|
||||
@@ -20,7 +20,7 @@ def verifyDefaultModuleOwnership = tasks.register('verifyDefaultModuleOwnership'
|
||||
include(featureSourcePatterns)
|
||||
}.files
|
||||
if (!coreFeatureSources.isEmpty()) {
|
||||
throw new GradleException("Built-in sources must live in modules/default: ${coreFeatureSources}")
|
||||
throw new GradleException("Built-in sources must live in IrisModule: ${coreFeatureSources}")
|
||||
}
|
||||
|
||||
Set<File> unexpectedSources = fileTree(defaultModuleSources) {
|
||||
|
||||
Reference in new issue
Block a user