Files
apollo/util/build.gradle
T
Gary Tierney a53929a9a8 Remove apollo-plugin Gradle plugin
Replaces the old Gradle plugin with plain Gradle buildscripts.  Also cleans-up
the current Gradle extensions and re-adds detekt, along with JUnit 5 support to
all modules.
2018-08-27 00:55:41 +01:00

28 lines
1.2 KiB
Groovy

apply plugin: 'java-library'
description = 'Apollo Utilities'
dependencies {
api group: 'io.netty', name: 'netty-all', version: nettyVersion
implementation group: 'org.apache.commons', name: 'commons-compress', version: commonsCompressVersion
implementation group: 'com.google.guava', name: 'guava', version: guavaVersion
implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: bouncycastleVersion
test.useJUnitPlatform()
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitJupiterVersion
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion
testImplementation group: 'org.junit.vintage', name: 'junit-vintage-engine', version: junitVintageVersion
testImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: junitPlatformVersion
}
task(genRsa, dependsOn: classes, type: JavaExec) {
def utilSubproject = project(':util')
def utilClasspath = utilSubproject.sourceSets.main.runtimeClasspath
main = 'org.apollo.util.tools.RsaKeyGenerator'
classpath = utilClasspath
jvmArgs = ['-Xmx1024M']
workingDir = project.rootDir
}