summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-04-12 17:38:06 +0530
committerGitHub <noreply@github.com>2021-04-12 12:08:06 +0000
commitcfbdb5f92ac034f595925fc25c3d0a11e0b3a390 (patch)
treed743f1a739b46887a36a55719a4bfd48e752e45d /build.gradle.kts
parentb7d43f1c9680ab558a0f461f15649d8d60792a03 (diff)
Update to Gradle 7.0 (#1381)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts22
1 files changed, 0 insertions, 22 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 300a1256..0718d817 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -7,26 +7,4 @@ plugins {
`aps-plugin`
}
-buildscript { dependencies { classpath(Plugins.ktfmtGradlePlugin) } }
-
allprojects { apply(plugin = "com.ncorti.ktfmt.gradle") }
-
-subprojects {
- // Gradle's automatic resolution fails to handle AndroidX annotation for
- // some reason so here we simply hack it up to use the correct version manually.
- val annotationParts = Dependencies.AndroidX.annotation.split(":")
- val annotationGroup = annotationParts[0]
- val annotationModule = annotationParts[1]
- val annotationVersion = annotationParts[2]
- configurations.all {
- resolutionStrategy.dependencySubstitution {
- substitute(module("org.jetbrains.trove4j:trove4j:20160824"))
- .using(module("org.jetbrains.intellij.deps:trove4j:1.0.20200330"))
- }
- resolutionStrategy.eachDependency {
- if (requested.group == annotationGroup && requested.name == annotationModule) {
- useVersion(annotationVersion)
- }
- }
- }
-}