mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
52 lines
1.2 KiB
Groovy
52 lines
1.2 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
group = 'de.schildbach.pte'
|
|
archivesBaseName = 'public-transport-enabler'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
//noinspection GradleDependency
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.13'
|
|
//noinspection GradleDependency
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.13'
|
|
implementation 'com.google.guava:guava:32.1.3-android'
|
|
implementation 'org.slf4j:slf4j-api:2.0.13'
|
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
|
implementation 'org.json:json:20090211' // provided by Android
|
|
implementation 'net.sf.kxml:kxml2:2.3.0' // provided by Android
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs = ['src']
|
|
resources.srcDirs = ['src']
|
|
}
|
|
test {
|
|
java.srcDirs = ['test']
|
|
resources.srcDirs = ['test']
|
|
}
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility '1.8'
|
|
targetCompatibility '1.8'
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
compileTestJava {
|
|
sourceCompatibility '1.8'
|
|
targetCompatibility '1.8'
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
test {
|
|
exclude 'de/schildbach/pte/live/**'
|
|
}
|