settings.gradle.kts
settings.gradle.kts
1pluginManagement {2 repositories {3 google()4 mavenCentral()5 gradlePluginPortal()6 }7}89dependencyResolutionManagement {10 // PREFER_SETTINGS (not FAIL_ON_PROJECT_REPOS): the Kotlin/Wasm toolchain11 // registers its Node.js download repository on the project, which would12 // otherwise fail the build. The actual downloads resolve through the ivy13 // repositories declared below.14 repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)15 repositories {16 google()17 mavenCentral()18 // The Kotlin/Wasm toolchain downloads Node.js, Yarn, and Binaryen19 // through ivy repositories it registers on the project, which20 // PREFER_SETTINGS ignores — so declare them here.21 exclusiveContent {22 forRepository {23 ivy("https://nodejs.org/dist") {24 name = "Node Distributions"25 patternLayout { artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") }26 metadataSources { artifact() }27 }28 }29 filter { includeGroup("org.nodejs") }30 }31 exclusiveContent {32 forRepository {33 ivy("https://github.com/yarnpkg/yarn/releases/download") {34 name = "Yarn Distributions"35 patternLayout { artifact("v[revision]/[artifact](-v[revision]).[ext]") }36 metadataSources { artifact() }37 }38 }39 filter { includeGroup("com.yarnpkg") }40 }41 exclusiveContent {42 forRepository {43 ivy("https://github.com/WebAssembly/binaryen/releases/download") {44 name = "Binaryen Distributions"45 patternLayout { artifact("version_[revision]/[module]-version_[revision]-[classifier].[ext]") }46 metadataSources { artifact() }47 }48 }49 filter { includeGroup("com.github.webassembly") }50 }51 }52}5354rootProject.name = "Yokan"55include(":composeApp")56include(":androidApp")5758includeBuild("vendor/kmp-mpv") {59 dependencySubstitution {60 substitute(module("io.github.kmpmpv:kmp-mpv"))61 .using(project(":kmp-mpv"))62 }63}6465includeBuild("vendor/yokan-ext") {66 dependencySubstitution {67 substitute(module("eu.friedcutlet.yokan:yokan-ext"))68 .using(project(":"))69 }70}7172include(":media-compat")73project(":media-compat").projectDir = file("vendor/compose-mediaplayer")74