Merge 1.16 into 1.18

This commit is contained in:
embeddedt 2024-03-14 22:13:56 -04:00
commit 89b07422e7
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -23,9 +23,11 @@ def current_platforms = getProperty("enabled_platforms").tokenize(',')
current_platforms.each { it ->
def platform_name = it.trim()
include(platform_name)
def testmodFolder = new File(platform_name + "/" + "testmod")
if(testmodFolder.isDirectory()) {
include(platform_name + ":testmod")
if(hasProperty("modernfix.testmod.enable")) {
def testmodFolder = new File(platform_name + "/" + "testmod")
if (testmodFolder.isDirectory()) {
include(platform_name + ":testmod")
}
}
}