-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle
55 lines (40 loc) · 1.59 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id "org.jetbrains.kotlin.kapt" version "$kotlin_version"
}
allprojects {
repositories {
mavenCentral()
maven {url "https://jitpack.io"}
}
}
group 'com.github.theapache64'
version retrosheet_version
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testImplementation "junit:junit:$junit_version"
// Retrofit : A type-safe HTTP client for Android and Java.
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-scalars:$retrofit_version"
// Converter: Moshi : A Retrofit Converter which uses Moshi for serialization.
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
// Kotlinx Coroutines Core : Coroutines support libraries for Kotlin
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
// Moshi : Moshi
implementation "com.squareup.moshi:moshi:$moshi_version"
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
implementation project(':retrosheet')
implementation project(':call-adapters')
// OkHttp Logging Interceptor : Square’s meticulous HTTP client for Java and Kotlin.
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3'
//Expekt
testImplementation "com.github.theapache64:expekt:$expekt_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
apply from: "ktlint.gradle"