covid-19/build.gradle

120 lines
3.2 KiB
Groovy

buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
}
allprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'com.ossez.covid19'
version = '0.1.1'
repositories {
// mavenCentral()
maven {
url "https://maven.ossez.com/repository/internal"
}
maven {
url "https://maven.ossez.com/repository/snapshots"
mavenContent {
snapshotsOnly()
}
}
mavenLocal()
}
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'
// 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 {
// CLOUD
implementation 'com.amazonaws:aws-java-sdk-s3:1.11.699'
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'
dependencies {
implementation project(":covid-19-common")
}
}
test {
useJUnitPlatform()
}
task javadocJar(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}