aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-02-03 21:57:55 +0530
committerGitHub <noreply@github.com>2021-02-03 21:57:55 +0530
commit0afd6551aa070d3ba8c5f91f3d51ddf4a79f4906 (patch)
treea4bd3d656d76463757351cf0dad648600133eb1b /buildSrc/build.gradle.kts
parent318aeae50072d575c975bbf1f708d526c41adc20 (diff)
Rework buildSrc and update some dependencies (#1296)
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts15
1 files changed, 7 insertions, 8 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index d6b6b779..832962be 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -1,6 +1,3 @@
-apply(from = "buildDependencies.gradle")
-val build: Map<Any, Any> by extra
-
plugins {
`kotlin-dsl`
}
@@ -9,6 +6,8 @@ repositories {
google()
gradlePluginPortal()
jcenter()
+ // For binary compatibility validator.
+ maven { url = uri("https://kotlin.bintray.com/kotlinx") }
}
kotlinDslPluginOptions {
@@ -33,9 +32,9 @@ gradlePlugin {
}
dependencies {
- implementation(build.getValue("kotlinGradlePlugin"))
- implementation(build.getValue("androidGradlePlugin"))
- implementation(build.getValue("binaryCompatibilityValidator"))
- implementation(build.getValue("downloadTaskPlugin"))
- implementation(build.getValue("jsemver"))
+ implementation(Plugins.androidGradlePlugin)
+ implementation(Plugins.binaryCompatibilityValidator)
+ implementation(Plugins.downloadTaskPlugin)
+ implementation(Plugins.jsemver)
+ implementation(Plugins.kotlinGradlePlugin)
}