mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
Migrate multi-module project to single project.
This commit is contained in:
parent
04382fe67e
commit
070fcad64a
220 changed files with 73 additions and 85 deletions
44
build.gradle
44
build.gradle
|
@ -1,5 +1,43 @@
|
|||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
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.25'
|
||||
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.25'
|
||||
}
|
||||
|
||||
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/**'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue