forked from vimeo/vimeo-networking-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (48 loc) · 1.23 KB
/
build.gradle
File metadata and controls
57 lines (48 loc) · 1.23 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
buildscript {
ext.kotlin_version = '1.4.21'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.14.2"
id "com.github.ben-manes.versions" version "0.36.0"
}
ext {
retrofitVersion = '2.9.0'
okioVersion = '2.10.0'
moshiVersion = '1.11.0'
stagVersion = '2.6.0'
junitVersion = '4.13.1'
buildToolsVersion = '29.0.3'
}
subprojects {
if (path.contains("integrations") || path.contains("models-") || path.contains("example")) {
return
}
apply {
plugin "io.gitlab.arturbosch.detekt"
}
apply from: "../detekt_configuration.gradle"
}
allprojects {
repositories {
google()
jcenter()
}
apply plugin: "com.jfrog.bintray"
tasks.withType(Javadoc).all { enabled = false }
tasks.withType(JavaCompile) { options.fork = true }
}
tasks.named('wrapper') {
distributionType = Wrapper.DistributionType.ALL
}
task clean(type: Delete) {
delete rootProject.buildDir
}