forked from andmar1x/opencv-android
-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
40 lines (36 loc) · 904 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
32
33
34
35
36
37
38
39
group = 'org.opencv'
version = {->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}.call()
buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:3.0.1"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
classpath "com.github.dcendents:android-maven-gradle-plugin:1.5"
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
google()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
excludes = ['**/*.kt', '**/*.aidl']
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.5.1'
}