-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (39 loc) · 1.15 KB
/
build.gradle.kts
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
plugins {
java
idea
application
id("com.diffplug.spotless") version "5.14.3"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(12))
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("javax.help:javahelp:2.0.02")
implementation("org.slf4j:slf4j-api:2.0.0-alpha1")
implementation("com.google.code.findbugs:jsr305:3.0.2")
runtimeOnly("ch.qos.logback:logback-classic:1.3.0-alpha5")
}
// https://docs.gradle.org/current/dsl/org.gradle.api.tasks.wrapper.Wrapper.html
// Update here and run `gradlew wrapper` to update the distribution
tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
gradleVersion = "7.2"
}
// https://docs.gradle.org/current/userguide/application_plugin.html
// Update here and run `gradlew run` to run the application
application {
mainClass.set("org.keiosu.visuturing.gui.VisuTuring")
}
// https://plugins.gradle.org/plugin/com.diffplug.spotless
// https://github.com/diffplug/spotless/tree/main/plugin-gradle
// Use `gradlew build` to view issues, `gradlew spotlessApply` to apply changes
spotless {
java {
googleJavaFormat().aosp()
}
}