Skip to content

Commit

Permalink
remove plugin management
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicalMeghan committed Sep 22, 2023
1 parent 545f5b2 commit cef5d9d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 78 deletions.
14 changes: 0 additions & 14 deletions AdaptiveUICodelab/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,5 @@
* limitations under the License.
*/

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Reply"
include ':app'
16 changes: 0 additions & 16 deletions BasicLayoutsCodelab/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,5 @@
* limitations under the License.
*/

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven { url 'https://androidx.dev/snapshots/builds/8843244/artifacts/repository' }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
rootProject.name = "MySoothe"
include ':app'
30 changes: 16 additions & 14 deletions BasicStateCodelab/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
/*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

rootProject.name = "BasicStateCodelab"
include ':app'
15 changes: 1 addition & 14 deletions BasicsCodelab/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}

rootProject.name = "BasicsCodelab"
include ':app'
20 changes: 0 additions & 20 deletions ThemingCodelab/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
val snapshotVersion: String? = System.getenv("COMPOSE_SNAPSHOT_ID")

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
snapshotVersion?.let {
println("https://androidx.dev/snapshots/builds/$it/artifacts/repository/")
maven { url = uri("https://androidx.dev/snapshots/builds/$it/artifacts/repository/") }
}

google()
mavenCentral()
}
}
rootProject.name = "Reply"
include(":app")

0 comments on commit cef5d9d

Please sign in to comment.