-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
80 lines (68 loc) · 2.57 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.6.RELEASE")
classpath('se.transmode.gradle:gradle-docker:1.2')
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'docker'
jar {
baseName = 'webapp'
version = '0.1.0'
}
repositories {
mavenCentral()
}
sourceCompatibility = 1.12
targetCompatibility = 1.12
dependencies {
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf'
// compile("org.springframework.boot:spring-boot-devtools")
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:'1.3.5.RELEASE'
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version:'1.3.5.RELEASE'
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-devtools")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.boot:spring-boot-starter-security")
compile("commons-codec:commons-codec")
compile("org.bouncycastle:bcprov-jdk15on:1.57")
compile("org.bouncycastle:bcpkix-jdk15on:1.57")
compile group: 'org.postgresql', name: 'postgresql', version:'42.1.1'
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
compile("org.springframework.boot:spring-boot-starter-security")
compile("org.thymeleaf.extras:thymeleaf-extras-springsecurity4")
compile("org.thymeleaf.extras:thymeleaf-extras-java8time")
compile("com.github.cage:cage:1.0")
compile("commons-io:commons-io:2.5")
compile("org.bitcoinj:bitcoinj-core:0.14.4")
compile("com.google.zxing:core:2.2")
compile("com.google.zxing:javase:2.2")
compile("org.springframework.boot:spring-boot-starter-logging")
compile("org.apache.httpcomponents:httpclient")
compile("org.json:json")
compile("javax.xml.bind:jaxb-api:2.2.11")
// compile("org.springframework.security:spring-security-config:4.1.3.RELEASE")
// compile("org.springframework.security:spring-security-web:4.1.3.RELEASE")
}
group='ramann'
task buildDocker(type: Docker, dependsOn: build) {
applicationName = 'bitstreamvpn'
tagVersion = 'release-0.0.1'
dockerfile = file('Dockerfile')
doFirst {
copy {
from jar
into "${stageDir}/target"
}
copy {
from "ipsec-pki/server.keystore"
into "${stageDir}/target"
}
}
}