Skip to content

Commit b058010

Browse files
committed
---
1 parent 0bf4b1f commit b058010

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+789
-303
lines changed

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/uiDesigner.xml

Lines changed: 124 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 72 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,73 @@
1-
2-
plugins {
3-
id 'java'
4-
}
5-
6-
group 'de.keksuccino.subtitletranslateai'
7-
version '1.0.0'
8-
9-
repositories {
10-
mavenCentral()
11-
}
12-
13-
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
14-
java.withSourcesJar()
15-
16-
dependencies {
17-
18-
// testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
19-
// testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
20-
21-
implementation group: 'org.jetbrains', name: 'annotations', version: '24.1.0'
22-
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.22.1'
23-
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
24-
implementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.3'
25-
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
26-
implementation group: 'com.google.guava', name: 'guava', version: '33.0.0-jre'
27-
28-
}
29-
30-
tasks.withType(JavaCompile).configureEach {
31-
it.options.encoding = 'UTF-8'
32-
it.options.getRelease().set(17)
33-
}
34-
35-
jar {
36-
37-
// manifest {
38-
// attributes(
39-
// 'Main-Class' : "de.keksuccino.modmanager.ModManager"
40-
// )
41-
// }
42-
//
43-
// zip64 = true
44-
//
45-
// from {
46-
// exclude('META-INF/LICENSE.txt')
47-
// exclude('META-INF/NOTICE.txt')
48-
// exclude('META-INF/DEPENDENCIES')
49-
// exclude('META-INF/LICENSE')
50-
// exclude('META-INF/NOTICE')
51-
// exclude('META-INF/maven/commons-io/')
52-
// configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
53-
// }
54-
55-
}
56-
57-
test {
58-
useJUnitPlatform()
1+
2+
plugins {
3+
id 'java'
4+
id 'application'
5+
id 'org.javamodularity.moduleplugin' version '1.8.12'
6+
id 'org.openjfx.javafxplugin' version '0.0.13'
7+
id 'org.beryx.jlink' version '2.25.0'
8+
}
9+
10+
group 'de.keksuccino.polyglot'
11+
version '1.0.0'
12+
13+
repositories {
14+
mavenCentral()
15+
}
16+
17+
ext {
18+
junitVersion = '5.10.0'
19+
}
20+
21+
sourceCompatibility = '17'
22+
targetCompatibility = '17'
23+
24+
tasks.withType(JavaCompile) {
25+
options.encoding = 'UTF-8'
26+
}
27+
28+
application {
29+
mainModule = 'de.keksuccino.polyglot.polyglot'
30+
mainClass = 'de.keksuccino.polyglot.polyglot.frontend.PolyglotApplication'
31+
}
32+
33+
javafx {
34+
version = '17.0.6'
35+
modules = ['javafx.controls', 'javafx.fxml']
36+
}
37+
38+
dependencies {
39+
40+
implementation('org.controlsfx:controlsfx:11.1.2')
41+
implementation('net.synedra:validatorfx:0.4.0') {
42+
exclude(group: 'org.openjfx')
43+
}
44+
implementation('org.kordamp.ikonli:ikonli-javafx:12.3.1')
45+
implementation('org.kordamp.bootstrapfx:bootstrapfx-core:0.4.0')
46+
47+
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
48+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
49+
50+
implementation group: 'org.jetbrains', name: 'annotations', version: '24.1.0'
51+
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.22.1'
52+
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
53+
implementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.3'
54+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
55+
implementation group: 'com.google.guava', name: 'guava', version: '33.0.0-jre'
56+
57+
}
58+
59+
test {
60+
useJUnitPlatform()
61+
}
62+
63+
jlink {
64+
imageZip = project.file("${buildDir}/distributions/app-${javafx.platform.classifier}.zip")
65+
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
66+
launcher {
67+
name = 'app'
68+
}
69+
}
70+
71+
jlinkZip {
72+
group = 'distribution'
5973
}

gradle/wrapper/gradle-wrapper.jar

-2.56 KB
Binary file not shown.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4-
networkTimeout=10000
5-
validateDistributionUrl=true
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
64
zipStoreBase=GRADLE_USER_HOME
75
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)