plugins { `java-library` } // The desktop client's platform code, run on the build machine only: its libopus // encodes the sound packs the app ships (see :app's bundleSoundPacks). java { sourceSets["main"].java.setSrcDirs(listOf(rootDir.resolve("../ts3-client/desktop/src/main/java"))) sourceSets["main"].resources.setSrcDirs(listOf(rootDir.resolve("../ts3-client/desktop/src/main/resources"))) } tasks.withType().configureEach { // The FFM API it reaches libopus through; the build has to run on JDK 25 or newer. options.release = 25 options.encoding = "UTF-8" } dependencies { implementation(project(":core")) }