mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-10 02:46:54 -04:00
Migrate dependencies to TOML catalog. * Add `gradle/libs.versions.toml` file to define all dependencies, plugins, and build versions. * Modify `build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `classpath` dependencies. * Modify `core.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block. * Modify `app/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block. * Modify `base/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block. * Modify `albumlist/build.gradle` to apply the `libs.versions.toml` file for dependency management. * Modify `photolist/build.gradle` to apply the `libs.versions.toml` file for dependency management. * Modify `testing/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block. * Delete `versions.gradle` and `base/versions.gradle` files. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/imcarlost/Friendlists?shareId=XXXX-XXXX-XXXX-XXXX).
43 lines
780 B
Groovy
43 lines
780 B
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath libs.plugins.kotlin
|
|
classpath libs.plugins.gradle
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "io.gitlab.arturbosch.detekt" version "1.5.0"
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
}
|
|
}
|
|
|
|
detekt {
|
|
version = "1.5.0"
|
|
autoCorrect = true
|
|
failFast = false
|
|
config = files("$rootDir/tools/detekt.yml")
|
|
input = files(rootProject.projectDir)
|
|
|
|
reports {
|
|
html {
|
|
enabled = true
|
|
destination = file("$rootDir/build/reports/detekt/report.html")
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|