-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (36 loc) · 1.11 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
//-------------------------------Plugins-------------------------------
apply plugin: 'java'
apply plugin: 'eclipse'
//------------------------General Configuration------------------------
defaultTasks 'tasks'
group='com.innodrive'
version = "1.0"
archivesBaseName = project.name
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
compile 'com.github.Ullink:simple-slack-api:0.5.1'
compile 'com.google.code.gson:gson:2.3.1'
// http://mvnrepository.com/artifact/mysql/mysql-connector-java
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
}
buildscript {
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
//--------------------------------Tasks--------------------------------
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}
task "create-dirs" << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}
//------------------------Plugins Configuration------------------------
jar { manifest.attributes provider: group }