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 { dependencies {
implementation(libs.androidGradlePlugin) implementation("com.android.tools.build:gradle:4.1.3")
implementation(libs.binaryCompatibilityValidator) implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.2.4")
implementation(libs.dokkaPlugin) implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.30")
implementation(libs.downloadTaskPlugin) implementation("de.undercouch:gradle-download-task:4.1.1")
implementation(libs.kotlinGradlePlugin) implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
implementation(libs.ktfmtGradlePlugin) implementation("com.ncorti.ktfmt.gradle:plugin:0.5.0")
implementation(libs.mavenPublishPlugin) implementation("com.vanniktech:gradle-maven-publish-plugin:0.13.0")
implementation(libs.semver4j) 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 { dependencyResolutionManagement {
versionCatalogs { versionCatalogs {
create("libs") { create("libs") {
@ -5,3 +8,4 @@ dependencyResolutionManagement {
} }
} }
} }
*/

View file

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