buildSrc: replace dependencies with direct references

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-04-16 16:35:27 +05:30
parent fb7788ba7e
commit 893af65b45
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 13 additions and 9 deletions

View file

@ -39,12 +39,12 @@ gradlePlugin {
}
dependencies {
implementation(libs.androidGradlePlugin)
implementation(libs.binaryCompatibilityValidator)
implementation(libs.dokkaPlugin)
implementation(libs.downloadTaskPlugin)
implementation(libs.kotlinGradlePlugin)
implementation(libs.ktfmtGradlePlugin)
implementation(libs.mavenPublishPlugin)
implementation(libs.semver4j)
implementation("com.android.tools.build:gradle:4.1.3")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.2.4")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.30")
implementation("de.undercouch:gradle-download-task:4.1.1")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
implementation("com.ncorti.ktfmt.gradle:plugin:0.5.0")
implementation("com.vanniktech:gradle-maven-publish-plugin:0.13.0")
implementation("com.vdurmont:semver4j:3.1.0")
}

View file

@ -1,3 +1,6 @@
/**
* IDEs don't support this very well for buildSrc, so we use the regular dependency format
* until that changes.
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
@ -5,3 +8,4 @@ dependencyResolutionManagement {
}
}
}
*/

View file

@ -36,7 +36,7 @@ internal fun Project.configureForAllProjects() {
repositories {
google()
mavenCentral()
jcenter() {
jcenter {
content {
// https://github.com/zhanghai/AndroidFastScroll/issues/35
includeModule("me.zhanghai.android.fastscroll", "library")