-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GUI to make the tool easier to use for non-docker users.
- Loading branch information
Showing
15 changed files
with
1,129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# These are explicitly windows files and should use crlf | ||
*.bat text eol=crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
*.tsv | ||
*.gz | ||
ratingSetLastUpdate | ||
*.json | ||
*.log | ||
.gradle/ | ||
src/main/resources/VERSION | ||
build/ | ||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.recommenders | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# PyDev specific (Python IDE for Eclipse) | ||
*.pydevproject | ||
|
||
# CDT-specific (C/C++ Development Tooling) | ||
.cproject | ||
|
||
# CDT- autotools | ||
.autotools | ||
|
||
# Java annotation processor (APT) | ||
.factorypath | ||
|
||
# PDT-specific (PHP Development Tools) | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# Tern plugin | ||
.tern-project | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
# STS (Spring Tool Suite) | ||
.springBeans | ||
|
||
# Code Recommenders | ||
.recommenders/ | ||
|
||
# Annotation Processing | ||
.apt_generated/ | ||
.apt_generated_test/ | ||
|
||
# Scala IDE specific (Scala & Java development for Eclipse) | ||
.cache-main | ||
.scala_dependencies | ||
.worksheet | ||
|
||
Created by https://www.gitignore.io/api/ava,gradle | ||
|
||
#!! ERROR: ava is undefined. Use list command to see defined gitignore types !!# | ||
|
||
### Gradle ### | ||
.gradle | ||
build/ | ||
|
||
# Ignore Gradle GUI config | ||
gradle-app.setting | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar | ||
|
||
*target* | ||
*.jar | ||
*.war | ||
*.ear | ||
*.class | ||
|
||
# eclipse specific git ignore | ||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/** | ||
tmp/** | ||
tmp/**/* | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
* | ||
* This generated file contains a sample Java project to get you started. | ||
* For more details take a look at the Java Quickstart chapter in the Gradle | ||
* User Manual available at https://docs.gradle.org/6.1/userguide/tutorial_java_projects.html | ||
*/ | ||
|
||
plugins { | ||
// Apply the java plugin to add support for Java | ||
id 'java' | ||
|
||
// Apply the application plugin to add support for building a CLI application. | ||
id 'application' | ||
id 'eclipse' | ||
} | ||
|
||
version = '1.0.0' | ||
sourceCompatibility = '11' | ||
|
||
new File(projectDir, "src/main/resources/VERSION").text = version; | ||
|
||
repositories { | ||
// Use jcenter for resolving dependencies. | ||
// You can declare any Maven/Ivy/file repository here. | ||
jcenter() | ||
} | ||
|
||
configurations { | ||
compile.transitive = true | ||
|
||
linux { | ||
description = 'linux classpath' | ||
extendsFrom compile | ||
} | ||
|
||
mac { | ||
description = 'mac classpath' | ||
extendsFrom compile | ||
} | ||
|
||
win { | ||
description ='win classpath' | ||
extendsFrom compile | ||
} | ||
} | ||
|
||
def currentOS = org.gradle.internal.os.OperatingSystem.current() | ||
def platform | ||
if (currentOS.isWindows()) { | ||
platform = 'win' | ||
} else if (currentOS.isLinux()) { | ||
platform = 'linux' | ||
} else if (currentOS.isMacOsX()) { | ||
platform = 'mac' | ||
} | ||
|
||
|
||
dependencies { | ||
compile group: 'org.tinylog', name: 'tinylog-impl', version: '2.0.1' | ||
compile group: 'net.harawata', name: 'appdirs', version: '1.0.3' | ||
|
||
implementation "org.openjfx:javafx-base:13:${platform}" | ||
implementation "org.openjfx:javafx-controls:13:${platform}" | ||
implementation "org.openjfx:javafx-fxml:13:${platform}" | ||
implementation "org.openjfx:javafx-graphics:13:${platform}" | ||
|
||
win "org.openjfx:javafx-base:13:win" | ||
win "org.openjfx:javafx-controls:13:win" | ||
win "org.openjfx:javafx-fxml:13:win" | ||
win "org.openjfx:javafx-graphics:13:win" | ||
|
||
linux "org.openjfx:javafx-graphics:13:linux" | ||
linux "org.openjfx:javafx-base:13:linux" | ||
linux "org.openjfx:javafx-controls:13:linux" | ||
linux "org.openjfx:javafx-fxml:13:linux" | ||
|
||
mac "org.openjfx:javafx-graphics:13:mac" | ||
mac "org.openjfx:javafx-base:13:mac" | ||
mac "org.openjfx:javafx-controls:13:mac" | ||
mac "org.openjfx:javafx-fxml:13:mac" | ||
|
||
// Use JUnit Jupiter API for testing. | ||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2' | ||
|
||
// Use JUnit Jupiter Engine for testing. | ||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.2' | ||
} | ||
|
||
application { | ||
// Define the main class for the application. | ||
mainClassName = 'updatetool.gui.Starter' | ||
} | ||
|
||
test { | ||
// Use junit platform for unit tests | ||
useJUnitPlatform() | ||
} | ||
|
||
task('linuxJar', type: Jar) { | ||
appendix = "linux" | ||
from { configurations.linux.collect { it.isDirectory() ? it : zipTree(it) }} | ||
} | ||
|
||
task('macJar', type: Jar) { | ||
appendix = "mac" | ||
from { configurations.mac.collect { it.isDirectory() ? it : zipTree(it) }} | ||
} | ||
|
||
task('winJar', type: Jar) { | ||
appendix = "win" | ||
from { configurations.win.collect { it.isDirectory() ? it : zipTree(it) }} | ||
} | ||
|
||
configure([linuxJar, macJar, winJar]) { | ||
from sourceSets.main.output | ||
manifest { | ||
attributes "Main-Class": "updatetool.gui.Starter" | ||
} | ||
} | ||
|
||
jar.dependsOn linuxJar, macJar, winJar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.