Skip to content

Commit

Permalink
Remove jcenter repository / Remove dependency update task
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgold committed Aug 8, 2021
1 parent 8f3562a commit efc03a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

plugins {
id("com.android.application") version "7.0.0"
kotlin("android") version "1.5.20"
Expand Down Expand Up @@ -116,7 +115,6 @@ android {
}
}


dependencies {
implementation("androidx.activity", "activity-ktx", "1.2.1")
implementation("androidx.appcompat", "appcompat", "1.2.0")
Expand All @@ -126,7 +124,7 @@ dependencies {
implementation("androidx.preference", "preference-ktx", "1.1.1")
implementation("androidx.constraintlayout", "constraintlayout", "2.0.4")
implementation("androidx.lifecycle", "lifecycle-service", "2.2.0")
implementation("com.google.android", "flexbox", "2.0.1")
implementation("com.google.android.flexbox", "flexbox", "3.0.0")
implementation("com.google.android.material", "material", "1.3.0")
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-android", "1.4.2")
implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.1.0")
Expand Down
11 changes: 0 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask

plugins {
id("com.github.ben-manes.versions") version "0.36.0"
base // adds clean task to root project
}

subprojects {
repositories {
mavenCentral()
google()
jcenter() // Cannot remove jcenter as of now because flexbox depends on it
}
}

// for dependency updates task, only display versions that aren't tagged with alpha or beta
tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
rejectVersionIf {
"alpha" in candidate.version || "beta" in candidate.version
}
}

0 comments on commit efc03a9

Please sign in to comment.