import java.nio.file.Files rootProject.name = "openrs2" include( "all", "asm", "bundler", "cli", "compress", "compress-cli", "conf", "crc32", "crypto", "decompiler", "deob", "deob-annotations", "deob-ast", "deob-map", "deob-processor", "game", "util", "yaml" ) if (Files.exists(rootProject.projectDir.toPath().resolve("nonfree/build.gradle.kts"))) { include( "nonfree", "nonfree:client", "nonfree:gl", "nonfree:loader", "nonfree:signlink", "nonfree:unpack", "nonfree:unpackclass" ) }