forked from permissions-dispatcher/PermissionsDispatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
29 lines (26 loc) · 949 Bytes
/
build.gradle
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
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:$GRADLE_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "com.novoda:bintray-release:$BINTRAY_PLUGIN_VERSION"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:$JFROG_PLUGIN_VERSION"
}
}
def generatePomFilesTask = tasks.create("generatePomFiles")
allprojects {
repositories {
jcenter()
google()
// TODO Until #389 is resolved by a proper update to kotlinpoet: https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/389
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
tasks.whenTaskAdded {
if (it.name.matches("generatePomFileFor([A-Z][a-zA-Z]*)Publication")) {
generatePomFilesTask.dependsOn it
}
}
}