forked from permissions-dispatcher/PermissionsDispatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
31 lines (27 loc) · 841 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
30
31
buildscript {
apply from: "${rootDir.absolutePath}/ext.gradle"
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$GRADLE_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$BINTRAY_PLUGIN_VERSION"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:$JFROG_PLUGIN_VERSION"
}
}
def generatePomFilesTask = tasks.create("generatePomFiles")
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
tasks.whenTaskAdded {
if (it.name.matches("generatePomFileFor([A-Z][a-zA-Z]*)Publication")) {
generatePomFilesTask.dependsOn it
}
}
}