-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (44 loc) · 1.7 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
49
50
51
52
53
54
55
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0"
}
}
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "7.0.0"
}
mainClassName = 'psdutil.ApplicationCore'
apply plugin: "com.github.johnrengelman.shadow"
group 'org.example'
version '1.0.1-SNAPSHOT'
sourceCompatibility = 1.11
targetCompatibility = 1.11
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
mavenLocal()
}
dependencies {
// https://github.com/haraldk/TwelveMonkeys#adobe-photoshop-document-psd
implementation 'com.twelvemonkeys:twelvemonkeys:3.7.0'
// https://mvnrepository.com/artifact/com.twelvemonkeys.imageio/imageio-core
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio', version: '3.7.0', ext: 'pom'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-core', version: '3.7.0'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-metadata', version: '3.7.0'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-psd', version: '3.7.0'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-clippath', version: '3.7.0'
implementation 'com.twelvemonkeys.common:common:3.7.0'
implementation 'com.twelvemonkeys.common:common-image:3.7.0'
implementation 'com.twelvemonkeys.common:common-io:3.7.0'
implementation 'com.twelvemonkeys.common:common-lang:3.7.0'
}
application {
// Desired way mainClass.set("<main class>") causes an issue during jar packaging
mainClassName ="psdutil.ApplicationCore"
}