buildSrc: replace dependencies with direct references
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
fb7788ba7e
commit
893af65b45
3 changed files with 13 additions and 9 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue