-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
63 lines (50 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
id("groovy")
id("com.github.johnrengelman.shadow") version "7.1.1"
id("io.micronaut.application") version "3.2.0"
}
ext {
groovyVersion = "3.0.9"
dropboxVersion = "4.0.1"
}
version = "1.0"
group = "com.github.joxebus"
repositories {
mavenCentral()
}
micronaut {
runtime("netty")
testRuntime("spock2")
processing {
incremental(true)
annotations("com.github.joxebus.*")
}
}
dependencies {
implementation("javax.inject:javax.inject:1")
implementation("io.micronaut:micronaut-validation")
/*implementation("io.micronaut.groovy:micronaut-runtime-groovy") {
exclude group: 'org.codehaus.groovy', module: 'groovy-bom'
}*/
implementation("com.dropbox.core:dropbox-core-sdk:${dropboxVersion}")
implementation("io.micronaut:micronaut-http-client")
runtimeOnly("ch.qos.logback:logback-classic")
implementation("org.codehaus.groovy:groovy-all:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-yaml:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-dateutil:${groovyVersion}")
// Thymeleaf support
implementation("io.micronaut.views:micronaut-views-thymeleaf")
}
application {
mainClass.set("io.github.joxebus.groovywebconsole.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("1.8")
targetCompatibility = JavaVersion.toVersion("1.8")
}
test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
}
}