covid-19/build.gradle

120 lines
3.2 KiB
Groovy
Raw Permalink Normal View History

2020-03-30 23:58:05 -04:00
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
}
allprojects {
apply plugin: 'java'
2020-04-13 00:59:47 -04:00
apply plugin: 'eclipse'
apply plugin: 'idea'
2020-03-30 23:58:05 -04:00
2020-04-13 00:59:47 -04:00
group = 'com.ossez.covid19'
version = '0.1.1'
2020-03-30 23:58:05 -04:00
repositories {
2020-04-13 00:59:47 -04:00
// mavenCentral()
maven {
url "https://maven.ossez.com/repository/internal"
}
maven {
url "https://maven.ossez.com/repository/snapshots"
mavenContent {
snapshotsOnly()
}
}
mavenLocal()
2020-03-30 23:58:05 -04:00
}
dependencies {
// COMMONS
implementation 'org.apache.commons:commons-lang3:3.9'
implementation 'org.apache.commons:commons-vfs2:2.0'
implementation 'org.apache.commons:commons-csv:1.7'
implementation 'commons-fileupload:commons-fileupload:1.4'
implementation 'commons-cli:commons-cli:1.2'
implementation 'commons-net:commons-net:3.6'
implementation 'com.google.guava:guava:18.0'
implementation group: 'javax.mail', name: 'javax.mail-api', version: '1.5.6'
implementation group: 'com.google.gdata', name: 'core', version: '1.47.1'
implementation group: 'com.google.api-client', name: 'google-api-client', version: '1.30.5'
implementation 'com.google.api-client:google-api-client-jackson2:1.21.0'
implementation 'com.google.apis:google-api-services-admin-directory:directory_v1-rev63-1.21.0'
implementation 'com.google.apis:google-api-services-drive:v3-rev40-1.22.0'
implementation 'rome:rome:0.9'
implementation 'org.apache.velocity:velocity:1.7'
implementation 'org.apache.velocity:velocity-tools:2.0'
implementation group: 'net.sf.jmimemagic', name: 'jmimemagic', version: '0.1.4'
implementation 'net.sf.jazzy:jazzy:0.5.2-rtext-1.4.1'
implementation 'net.sf.opencsv:opencsv:2.3'
2020-04-13 00:59:47 -04:00
// TESTS
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.1'
}
}
subprojects {
// REPO
repositories {
// mavenCentral()
maven {
url "https://maven.ossez.com/repository/internal"
}
maven {
url "https://maven.ossez.com/repository/snapshots"
mavenContent {
snapshotsOnly()
}
}
mavenLocal()
}
ext {
environmentProperty = project.hasProperty('environment') ? getProperty('environment') : 'hsql'
docResourcesVersion = '0.1.0'
}
dependencies {
2020-03-30 23:58:05 -04:00
// CLOUD
implementation 'com.amazonaws:aws-java-sdk-s3:1.11.699'
2020-03-30 23:58:05 -04:00
implementation 'org.apache.jclouds:jclouds-all:1.9.2'
// TESTS
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.1'
}
}
project('covid-19-common') {
description = 'covid-19-common'
apply plugin: 'java-library'
}
project('covid-19-service') {
description = 'covid-19-service'
2020-04-13 00:59:47 -04:00
dependencies {
implementation project(":covid-19-common")
}
2020-03-30 23:58:05 -04:00
}
test {
useJUnitPlatform()
}
task javadocJar(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}