2019-03-02 19:08:57 +01:00
|
|
|
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
2014-07-24 02:15:11 +02:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
2018-10-11 17:39:45 +02:00
|
|
|
google()
|
2014-07-24 02:15:11 +02:00
|
|
|
jcenter()
|
2015-05-17 18:08:59 +02:00
|
|
|
mavenCentral()
|
2014-07-24 02:15:11 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2019-07-16 15:03:13 +02:00
|
|
|
classpath("com.android.tools.build:gradle:3.4.2")
|
2019-07-04 08:46:39 +02:00
|
|
|
classpath(kotlin("gradle-plugin", "1.3.41"))
|
2014-07-24 02:15:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-02 19:08:57 +01:00
|
|
|
plugins {
|
|
|
|
id("com.github.ben-manes.versions") version "0.21.0"
|
|
|
|
}
|
|
|
|
|
2014-07-24 02:15:11 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-10-11 17:39:45 +02:00
|
|
|
google()
|
2014-07-24 02:15:11 +02:00
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
2019-04-29 14:01:46 +02:00
|
|
|
tasks {
|
|
|
|
named<DependencyUpdatesTask>("dependencyUpdates") {
|
|
|
|
resolutionStrategy {
|
|
|
|
componentSelection {
|
|
|
|
all {
|
2019-07-04 08:40:24 +02:00
|
|
|
if (listOf("commons-io", "org.eclipse.jgit").contains(candidate.group)) {
|
|
|
|
reject("Blacklisted package")
|
2019-04-29 14:01:46 +02:00
|
|
|
}
|
2019-03-02 19:08:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-29 14:01:46 +02:00
|
|
|
checkForGradleUpdate = true
|
|
|
|
outputFormatter = "json"
|
|
|
|
outputDir = "build/dependencyUpdates"
|
|
|
|
reportfileName = "report"
|
|
|
|
}
|
|
|
|
|
|
|
|
named<Wrapper>("wrapper") {
|
2019-07-10 23:28:41 +02:00
|
|
|
gradleVersion = "5.5.1"
|
2019-04-29 14:01:46 +02:00
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
2019-03-02 19:08:57 +01:00
|
|
|
}
|
|
|
|
}
|