@@ -6,41 +6,33 @@ pluginManagement {
66 repositories {
77 mavenCentral()
88 gradlePluginPortal()
9- // TeaVM dev builds (e.g. 0.15.0-dev-N) ship here, not Maven Central.
109 maven(" https://teavm.org/maven/repository/" ) { name = " teavm-dev" }
1110 }
1211}
1312
1413dependencyResolutionManagement {
15- // PREFER (not FAIL) project repos: the node-gradle plugin registers a "Node.js" ivy-style
16- // repository in :web's build script for Node downloads, and FAIL_ON_PROJECT_REPOS would
17- // reject it. PREFER keeps settings as the default for Maven artifacts while letting
18- // plugins layer their own download sources on top.
1914 repositoriesMode = RepositoriesMode .PREFER_SETTINGS
2015
2116 repositories {
2217 mavenCentral()
23- // TeaVM dev artifacts (teavm-jso, teavm-jso-apis, teavm-core at 0.15.0-dev-N) live here.
2418 maven(" https://teavm.org/maven/repository/" ) { name = " teavm-dev" }
2519 maven(" https://gitlab.com/api/v4/projects/50818999/packages/maven" ) { name = " chromia-parent" }
2620 maven(" https://gitlab.com/api/v4/projects/32294340/packages/maven" ) { name = " postchain" }
2721 maven(" https://gitlab.com/api/v4/projects/64941451/packages/maven" ) { name = " chromia-cli-tools" }
2822 maven(" https://gitlab.com/api/v4/projects/46288950/packages/maven" ) { name = " chromia-misc" }
2923 maven(" https://gitlab.com/api/v4/projects/32802097/packages/maven" ) { name = " rell" }
24+
3025 // node-gradle uses an ivy-pattern lookup against nodejs.org/dist; declare it in
3126 // settings so PREFER_SETTINGS resolves it instead of the plugin's project-scoped
3227 // attempt (which our chromia gitlab repos obviously can't serve).
3328 ivy {
3429 name = " Node.js"
3530 setUrl(" https://nodejs.org/dist" )
36- patternLayout {
37- artifact(" v[revision]/[artifact](-v[revision]-[classifier]).[ext]" )
38- }
31+ patternLayout { artifact(" v[revision]/[artifact](-v[revision]-[classifier]).[ext]" ) }
3932 metadataSources { artifact() }
4033 content { includeModule(" org.nodejs" , " node" ) }
4134 }
4235 }
4336}
4437
45- include(" bridge" )
46- include(" web" )
38+ include(" bridge" , " web" )
0 commit comments