forked from substratum/substratum
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
47 lines (41 loc) · 994 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Copyright (c) 2016-2019 Projekt Substratum
* This file is part of Substratum.
*
* SPDX-License-Identifier: GPL-3.0-Or-Later
*/
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.gradle.api.tasks.wrapper.Wrapper
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:3.5.1")
}
}
plugins {
id("com.github.ben-manes.versions") version "0.21.0"
}
allprojects {
repositories {
google()
jcenter()
maven(url = "https://jitpack.io")
}
}
tasks {
named<DependencyUpdatesTask>("dependencyUpdates") {
checkForGradleUpdate = true
outputFormatter = "json"
outputDir = "build/dependencyUpdates"
reportfileName = "report"
}
named<Wrapper>("wrapper") {
gradleVersion = "5.5"
distributionType = Wrapper.DistributionType.ALL
}
}
configureSpotless()