-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (41 loc) · 1.31 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
group 'github.com.Belle94'
version '1.0'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = 'Main'
repositories {
mavenCentral()
maven {
url "https://github.com/psiegman/mvn-repo/raw/master/releases"
}
}
idea {
module {
downloadSources = true
}
}
dependencies {
compile 'org.apache.pdfbox:pdfbox:1.8.10'
compile 'org.xerial:sqlite-jdbc:3.8.11'
compile 'com.j256.ormlite:ormlite-jdbc:4.48'
compile 'com.j256.ormlite:ormlite-core:4.48'
runtime 'com.j256.ormlite:ormlite-jdbc:4.48'
compile 'org.xerial.thirdparty:nestedvm:1.0'
runtime 'org.xerial.thirdparty:nestedvm:1.0'
runtime 'org.xerial:sqlite-jdbc:3.8.11'
compile group: 'nl.siegmann.epublib', name: 'epublib-core', version: '3.1'
compile group: 'nl.siegmann.epublib', name: 'epublib-parent', version: '3.1'
compile group: 'nl.siegmann.epublib', name: 'epublib-tools', version: '3.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
jar{
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest {
attributes 'Implementation-Title': 'ebook_library',
'Implementation-Version': version,
'Main-Class': mainClassName,
'Class-Path': '.'
}
}