Merge 1.18 into 1.19.2

This commit is contained in:
embeddedt 2024-03-14 22:13:57 -04:00
commit 3c17a5b4a2
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")
}
}
}