-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
34 lines (25 loc) · 852 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
27
28
29
30
31
32
33
34
import java.text.SimpleDateFormat
plugins {
id 'java'
id 'application'
}
group 'com.reportmill'
version new SimpleDateFormat("yyyy.MM.dd").format(new Date())
sourceSets.main.java.srcDirs = ['src']
sourceSets.main.resources.srcDirs = ['src']
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
// Jitpack makes builds from GitHub repos
maven { url 'https://jitpack.io' }
}
dependencies {
// If Local SnapKit project, use that, otherwise use latest GitHub repo
if (findProject(':SnapKit') != null) { println 'Using local SnapKit project'
implementation project(':SnapKit') }
else { println 'Using latest SnapKit GitHub repo'
implementation 'com.github.reportmill:SnapKit:master-SNAPSHOT' }
}
mainClassName = 'snappdf.XRefView'