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