-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.21 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
buildscript {
ext {
wildflySwarmVersion = "2017.9.5"
}
repositories {
// mavenLocal()
mavenCentral()
maven { url = "https://maven.repository.redhat.com/ga/" }
maven { url = "https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/" }
}
dependencies {
classpath "org.wildfly.swarm:wildfly-swarm-gradle-plugin:$wildflySwarmVersion"
}
}
plugins {
id "ear"
id "war"
id "java"
id "io.spring.dependency-management" version "1.0.9.RELEASE"
}
apply plugin: "wildfly-swarm"
version = "0.0.0"
group = "daggerok"
repositories {
// mavenLocal()
mavenCentral()
maven { url = "https://maven.repository.redhat.com/ga/" }
maven { url = "https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/" }
}
dependencyManagement {
imports {
mavenBom "org.wildfly.swarm:bom:$wildflySwarmVersion"
}
}
dependencies {
compile "org.wildfly.swarm:microprofile"
compile "org.wildfly.swarm:jaxrs"
compileOnly "javax:javaee-api:8.0"
testCompile "org.wildfly.swarm:arquillian"
}
swarm {
properties {
swarm.http.port = 8080
}
//executable = true
bundleDependencies = true
}
wrapper {
gradleVersion = "4.10.3"
distributionType = "ALL"
}