forked from sotasan/decompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (58 loc) · 1.63 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
plugins {
id("application")
id("java")
id("com.github.johnrengelman.shadow") version("8.1.1")
id("io.freefair.lombok") version("8.6")
}
group = "com.sotasan"
version = "0.9.9"
repositories {
mavenCentral()
maven { url("https://jitpack.io") }
maven { url("https://maven.fabricmc.net") }
}
application {
mainClass = "${project.group}.${project.name.toLowerCase()}.Main"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
dependencies {
implementation("com.fifesoft:rsyntaxtextarea:3.4.0")
implementation("com.formdev:flatlaf:3.4.1")
implementation("com.formdev:flatlaf-extras:3.4.1")
implementation("com.formdev:flatlaf-fonts-inter:4.0")
implementation("com.formdev:flatlaf-fonts-jetbrains-mono:2.304")
implementation("com.github.java-decompiler:jd-core:v1.1.3")
implementation("com.miglayout:miglayout-swing:11.3")
implementation("net.fabricmc:cfr:0.2.2")
implementation("org.bitbucket.mstrobel:procyon-compilertools:0.6.0")
implementation("org.jetbrains:annotations:24.1.0")
implementation("org.vineflower:vineflower:1.10.0")
}
processResources {
outputs.upToDateWhen { false }
filesMatching("application.properties") {
expand(project.properties)
}
}
jar {
enabled = false
}
shadowJar {
dependsOn(distTar, distZip)
archiveBaseName = project.name.toLowerCase()
archiveClassifier = null
}
test {
enabled = false
}
tasks.register("testJar", Jar) {
archiveFileName = "test.jar"
from(sourceSets.test.output)
}
run {
dependsOn(testJar)
args((testJar as Jar).archiveFile.get())
}