aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-11-06 19:41:15 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-11-06 19:41:15 +0530
commitb2d352e3ea671e84cc4f356a49786d1d3b2eaef6 (patch)
treee33d23a825d3eaa81bc2ce0bd6a621894a36adcc /build.gradle.kts
parent3fcf242c0770eb043b85d9d0a16e408780cf7527 (diff)
Revert back to Groovy DSL
The Kotlin DSL's API is extremely terrible and makes the simplest tasks annoying. It also introduces a very noticeable build overhead that I'd rather not have. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts53
1 files changed, 0 insertions, 53 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
deleted file mode 100644
index e22b4678..00000000
--- a/build.gradle.kts
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
- * SPDX-License-Identifier: GPL-3.0-only
- */
-import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
-
-buildscript {
- repositories {
- google()
- jcenter()
- mavenCentral()
- }
- dependencies {
- classpath("com.android.tools.build:gradle:3.5.0")
- classpath(kotlin("gradle-plugin", "1.3.50"))
- }
-}
-
-plugins {
- id("com.github.ben-manes.versions") version "0.27.0"
-}
-
-allprojects {
- repositories {
- google()
- jcenter()
- mavenCentral()
- }
-}
-tasks {
- named<DependencyUpdatesTask>("dependencyUpdates") {
- resolutionStrategy {
- componentSelection {
- all {
- if (listOf("commons-io", "org.eclipse.jgit").contains(candidate.group)) {
- reject("Blacklisted package")
- }
- }
- }
- }
- checkForGradleUpdate = true
- outputFormatter = "json"
- outputDir = "build/dependencyUpdates"
- reportfileName = "report"
- }
-
- named<Wrapper>("wrapper") {
- gradleVersion = "5.6.3"
- distributionType = Wrapper.DistributionType.ALL
- }
-}
-
-configureSpotless()