-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (69 loc) · 1.91 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//buildscript {
// repositories {
// maven {
// url "https://plugins.gradle.org/m2/"
// }
// }
// dependencies {
// classpath "io.freefair.gradle:lombok-plugin:8.1.0"
// }
//}
plugins {
id 'java'
// id 'org.javamodularity.moduleplugin' version '1.8.12' apply true
id 'application'
id 'io.freefair.lombok' version '8.1.0'
id 'edu.sc.seis.launch4j' version '3.0.5'
}
//apply plugin: "io.freefair.lombok"
group 'ru.dingo3'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// classpath "io.freefair.gradle:lombok-plugin:8.1.0"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.0.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
implementation 'org.json:json:20230227'
implementation 'ru.homyakin:iuliia-java:1.8'
implementation group: 'com.mpatric', name: 'mp3agic', version: '0.9.0'
}
application {
// Define the main class for the application.
mainClass = 'ru.dingo3.streamingmusicbmbf.ui.MainCards'
}
launch4j {
mainClassName = 'ru.dingo3.streamingmusicbmbf.ui.MainCards'
icon = "${projectDir}/icons/logo2.ico"
}
jar {
manifest {
attributes(
'Main-Class': 'ru.dingo3.streamingmusicbmbf.ui.MainCards'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}
test {
useJUnitPlatform()
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
sourceSets {
main {
java {
srcDirs= ["src/main/java"]
}
resources {
srcDirs= ["media"]
}
}
}