-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
26 lines (21 loc) · 858 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
import java.text.SimpleDateFormat
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_7
version = '1.0.0.0'
jar {
destinationDir = file('deploy/')
manifest {
attributes 'Created-By' : 'Gradle ' + getGradle().gradleVersion,
'Specification-Title' : 'Ya-Essential. Essential tools for programming',
'Implementation-Title' : 'com.yagodar.essential',
'Implementation-Version' : version,
'Built-By': 'Yagodarov Andrey',
'Build-Date' : (new SimpleDateFormat("dd.MM.yyyy HH:mm:ss")).format(Calendar.getInstance().getTime()),
'Built-JDK': System.getProperty('java.version')
}
from sourceSets.main.allSource
from file('LICENSE')
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}