mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
43 lines
993 B
Groovy
43 lines
993 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'maven'
|
|
|
|
group = 'de.schildbach.pte'
|
|
archivesBaseName = 'public-transport-enabler'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.squareup.okhttp3:okhttp:3.12.3'
|
|
compile 'com.squareup.okhttp3:logging-interceptor:3.12.3'
|
|
compile 'com.google.guava:guava:28.0-android'
|
|
compile 'org.slf4j:slf4j-api:1.7.28'
|
|
compile 'com.google.code.findbugs:jsr305:3.0.0'
|
|
compile 'org.json:json:20090211' // provided by Android
|
|
compile 'net.sf.kxml:kxml2:2.3.0' // provided by Android
|
|
testCompile 'junit:junit:4.12'
|
|
testRuntime 'org.slf4j:slf4j-jdk14:1.7.28'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs = ['src']
|
|
resources.srcDirs = ['src']
|
|
}
|
|
test {
|
|
java.srcDirs = ['test']
|
|
resources.srcDirs = ['test']
|
|
}
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility '1.7'
|
|
targetCompatibility '1.7'
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
test {
|
|
exclude 'de/schildbach/pte/live/**'
|
|
}
|