mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 04:07:03 +05:30
fix(build): configure plugin repositories for build-logic
This commit is contained in:
parent
1441804e70
commit
050007ff1b
2 changed files with 20 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2022-2023 Harsh Shandilya.
|
* Copyright © 2022-2024 Harsh Shandilya.
|
||||||
* Use of this source code is governed by an MIT-style
|
* Use of this source code is governed by an MIT-style
|
||||||
* license that can be found in the LICENSE file or at
|
* license that can be found in the LICENSE file or at
|
||||||
* https://opensource.org/licenses/MIT.
|
* https://opensource.org/licenses/MIT.
|
||||||
*/
|
*/
|
||||||
plugins { `kotlin-dsl` }
|
plugins { `kotlin-dsl` }
|
||||||
|
|
||||||
kotlin.jvmToolchain { languageVersion.set(JavaLanguageVersion.of(17)) }
|
kotlin.jvmToolchain(17)
|
||||||
|
|
||||||
gradlePlugin {
|
gradlePlugin {
|
||||||
plugins {
|
plugins {
|
||||||
|
|
|
@ -8,7 +8,24 @@
|
||||||
|
|
||||||
rootProject.name = "build-logic"
|
rootProject.name = "build-logic"
|
||||||
|
|
||||||
|
pluginManagement {
|
||||||
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" }
|
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" }
|
||||||
|
repositories {
|
||||||
|
exclusiveContent {
|
||||||
|
forRepository { gradlePluginPortal() }
|
||||||
|
filter {
|
||||||
|
includeModule(
|
||||||
|
"org.gradle.toolchains.foojay-resolver-convention",
|
||||||
|
"org.gradle.toolchains.foojay-resolver-convention.gradle.plugin",
|
||||||
|
)
|
||||||
|
includeModule("org.gradle.toolchains", "foojay-resolver")
|
||||||
|
includeModule("org.gradle.kotlin.kotlin-dsl", "org.gradle.kotlin.kotlin-dsl.gradle.plugin")
|
||||||
|
includeModule("org.gradle.kotlin", "gradle-kotlin-dsl-plugins")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
mavenCentral { mavenContent { releasesOnly() } }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue