-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
43 lines (36 loc) · 1.05 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'distribution'
apply plugin: 'eclipse'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'com.github.scribejava:scribejava-core:3.2.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
compile 'joda-time:joda-time:2.9.4'
testCompile 'junit:junit:4.12'
testCompile 'commons-io:commons-io:2.4'
}
tasks.withType(JavaCompile){
options.compilerArgs += '-Xlint:deprecation'
options.compilerArgs += '-Xlint:unchecked'
}
task('configure', type: JavaExec) {
main = "com.leonardofischer.jmautic.configuration.MauticOauth2Configuration"
classpath += sourceSets.test.runtimeClasspath
standardInput = System.in
}
run {
main = 'com.leonardofischer.jmautic.examples.OAuth2Example'
classpath += sourceSets.test.runtimeClasspath
standardInput = System.in
}
task('styleJavadoc', type:Copy) {
from 'src/docs'
into 'build/docs/javadoc'
}
javadoc.finalizedBy styleJavadoc
jar.version = '0.0.1'