-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (34 loc) · 943 Bytes
/
build.gradle
File metadata and controls
41 lines (34 loc) · 943 Bytes
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
#! groovy
description = 'Test Microsoft SQL DB Connection'
group 'com.levon'
version '1.0.3'
// gradle wrapper version
task wrapper(type: Wrapper, description: 'Runs the gradle wrapper.') {
gradleVersion = '2.13'
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// testCompile group: 'junit', name: 'junit', version: '4.11'
compile fileTree(dir: 'lib', include: ['*.jar'])
}
task fatJar(type: Jar) {
group = 'build'
description = 'Build Jar with Dependencies'
baseName = project.name + '-all'
doFirst {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
manifest {
attributes 'Main-Class': 'com.levon.mssql.connectMsSqlServer'
}
with jar
}