-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
28 lines (25 loc) · 859 Bytes
/
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
buildscript {
repositories {
mavenCentral()
maven {
name = 'Sonatype Nexus Snapshots'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'net.wasdev.wlp.gradle.plugins:liberty-gradle-plugin:2.1.1-SNAPSHOT'
}
}
apply plugin: 'war'
apply plugin: 'liberty'
// In this section you declare where to find the dependencies of your project
repositories {
mavenCentral()
}
dependencies {
providedCompile 'javax.ws.rs:javax.ws.rs-api:2.0.1'
providedCompile 'org.eclipse.microprofile.config:microprofile-config-api:1.2'
providedCompile 'javax.enterprise:cdi-api:1.2'
providedCompile 'org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-api:1.1.2'
libertyRuntime 'io.openliberty:openliberty-runtime:18.0.0.3'
}