-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (39 loc) · 912 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'edu.sc.seis.gradle:launch4j:2.4.6'
}
}
repositories {
mavenCentral()
jcenter()
}
apply plugin: 'java'
apply plugin: 'edu.sc.seis.launch4j'
group 'org.example'
version '2.1.3.6'
sourceCompatibility = "1.8"
jar {
manifest {
attributes 'Main-Class': 'Runner'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
launch4j {
outfile = 'EzReplace.exe'
mainClassName = 'Runner'
icon = "${projectDir}/icon/icon.ico"
jar = "lib/${project.tasks.jar.archiveName}"
}
artifacts {
archives jar
}
dependencies {
implementation group: 'com.opencsv', name: 'opencsv', version: '5.1'
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.7.2'
implementation 'org.jetbrains:annotations:18.0.0'
}