-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (47 loc) · 1.32 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
buildscript {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
//classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'drawings-gradle-plugin', version: '8.8.2'
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
classpath "gradle.plugin.org.gretty:gretty:2.2.0"
}
}
plugins {
id 'java'
id 'war'
id 'org.gretty' version '2.2.0'
}
group 'br.com.finalcraft'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
jcenter()
flatDir {
dirs 'libs'
}
mavenCentral()
}
gretty {
httpPort = 12001
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'junit', name: 'junit', version: '4.12'
//compile "mysql:mysql-connector-java:8.0.18"
compile "org.mariadb.jdbc:mariadb-java-client:2.5.1" //Claramente mais rápido e menos bugado que o mysql-connector...
compile "org.mybatis:mybatis:3.4.5" //SQL script helper
compile 'javax.servlet:javax.servlet-api:3.1.0'
compile fileTree(dir: 'libs', include: ['*.jar']) //Current Folder Libs
}