Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
build.gradle
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'com.palantir.git-version' version '3.0.0'
- id "com.github.spotbugs" version "5.2.4"
+ id 'com.github.spotbugs' version '5.2.4'
}
maven {
- url "https://css4j.github.io/maven"
+ url 'https://css4j.github.io/maven'
mavenContent {
releasesOnly()
if (project.hasProperty( 'targetOs' )) {
if ('windows' == targetOs) {
- os = ["win"]
+ os = ['win']
} else if ('macos' == targetOs) {
- os = ["mac"]
+ os = ['mac']
} else {
os = [targetOs]
}
- testImplementation 'org.testfx:testfx-junit5:4.0.17'
testImplementation "org.junit.jupiter:junit-jupiter-api:${v_junit}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${v_junit}"
+ testImplementation 'org.testfx:testfx-junit5:4.0.17'
testImplementation 'org.assertj:assertj-core:3.24.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
compileJava {
options.compilerArgs += [
- "-Xlint:unchecked",
- "-Xlint:deprecation",
+ '-Xlint:unchecked',
+ '-Xlint:deprecation',
"-Aproject=${applicationPackage}/${applicationName}"
]
from {
- (configurations.runtimeClasspath.findAll { !it.path.endsWith( ".pom" ) })
+ (configurations.runtimeClasspath.findAll { !it.path.endsWith( '.pom' ) })
.collect { it.isDirectory() ? it : zipTree( it ) }
}
tasks.withType( JavaCompile ).configureEach {
- options.compilerArgs += "--enable-preview"
+ options.encoding = 'UTF-8'
+ options.compilerArgs += '--enable-preview'
}
tasks.withType( JavaExec ).configureEach {
- jvmArgs += "--enable-preview"
+ jvmArgs += '--enable-preview'
}
tasks.withType( Test ).configureEach {
- jvmArgs += "--enable-preview"
+ jvmArgs += '--enable-preview'
}

Adds source file encoding

Author DaveJarvis <email>
Date 2023-12-19 10:40:24 GMT-0800
Commit cf01bd335c87719c25bf2b9e35072c871ab649be
Parent f39a8eb
Delta 12 lines added, 11 lines removed, 1-line increase