-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
74 lines (62 loc) · 1.7 KB
/
build.gradle
File metadata and controls
74 lines (62 loc) · 1.7 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
buildscript {
repositories {
jcenter()
}
}
apply plugin: 'idea'
idea {
project {
jdkName = '1.8'
languageLevel = '1.8'
}
}
configure(allprojects) { project ->
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.8
group 'io.imont.networks.example-network-layer'
configurations.all {
resolutionStrategy.cacheDynamicVersionsFor 10, 'minutes'
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
repositories {
mavenLocal()
mavenCentral()
maven {
credentials {
username imontRepoUser
password imontRepoPassword
}
url "https://repo.imont.io/repository/imont-public/"
}
jcenter()
}
// Invent the wheel with provided for Gradle
configurations {
provided {
dependencies.all { dep ->
configurations.default.exclude group: dep.group, module: dep.name
}
}
compile.extendsFrom provided
}
// Common versions of things here
ext.imontSdkVersion = '1.8.0'
ext.cairoVersion = '0.5.0'
ext.rxJavaVersion = '1.3.8'
ext.junitVersion = '4.12'
ext.hamcrestVersion = '1.3'
ext.mockitoVersion = '2.7.22'
ext.slf4jVersion = '1.7.25'
ext.logbackVersion = '1.2.3'
ext.daggerVersion = '2.7'
ext.findBugsVersion = '3.0.1'
ext.awaitilityVersion = '2.0.0'
}
configure(subprojects) {
// All projects need this
dependencies {
compile "org.slf4j:slf4j-api:${slf4jVersion}"
testCompile "ch.qos.logback:logback-classic:${logbackVersion}"
}
}