-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (33 loc) · 728 Bytes
/
build.gradle
File metadata and controls
43 lines (33 loc) · 728 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
plugins {
id 'java'
id 'application'
id 'idea'
}
version '1.0'
mainClassName = 'Main'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group:'org.xerial', name:'sqlite-jdbc', version:'3.23.1'
}
jar {
manifest {
attributes (
'Class-Path': configurations.compile.collect {it.getName() }.join(' '),
'Main-Class': 'Main',
'Implementation-Title': 'Gradle',
'Implementation-Version': version
)
}
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}