Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (54 loc) · 1.8 KB
/
Copy pathbuild.gradle
File metadata and controls
64 lines (54 loc) · 1.8 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
buildscript {
repositories {
mavenLocal()
jcenter()
maven { url 'https://token.jfrog.io/token/public-gradle-plugins-local/' }
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'net.ltgt.gradle:gradle-apt-plugin:0.15'
classpath 'se.transmode.gradle:gradle-docker:1.2'
}
}
plugins {
id 'java'
id 'application'
id 'idea'
id 'net.ltgt.apt' version '0.15'
id 'com.github.johnrengelman.shadow' version '2.0.0'
}
repositories {
mavenLocal()
jcenter()
maven { url 'https://token.jfrog.io/token/public-libs-release-local/' }
maven { url "https://plugins.gradle.org/m2/" }
}
group = 'io.token.banksamplehttpclient'
version = '1.1.6'
project.mainClassName = project.group + '.Application'
ext {
ver = [
tokenIntegrationSdk : '2.1.7',
retrofit : '2.4.0',
okhttp3 : '3.11.0'
]
}
dependencies {
compileOnly "com.google.auto.value:auto-value:1.5"
apt "com.google.auto.value:auto-value:1.5"
compile group: 'io.token.sdk', name: 'tokenio-sdk-integration', version: ver.tokenIntegrationSdk
compile group: 'com.beust', name: 'jcommander', version: '1.72'
compile group: 'com.squareup.retrofit2', name: 'retrofit', version: ver.retrofit
compile group: 'com.squareup.retrofit2', name: 'adapter-rxjava2', version: ver.retrofit
compile group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: ver.okhttp3
testCompile 'junit:junit:4.12'
testCompile 'org.apache.commons:commons-lang3:3.4'
testCompile 'org.assertj:assertj-core:3.8.0'
}
build.dependsOn(shadowJar)
idea {
module {
sourceDirs += file("${buildDir}/generated/source/apt/main")
sourceDirs += file("${buildDir}/generated/source/apt/test")
}
}