Skip to content

Commit

Permalink
Updated gradle, README and CONSTRIBUTING
Browse files Browse the repository at this point in the history
Some minor updates. Finally managed to create a custom jre image with jlink, modify the launch script (.bat), convert that to an .exe and package all of this into an inoo setup installer and an self extracting folder (with 7z)
  • Loading branch information
Olareanu Alexandru committed May 22, 2020
1 parent cc56aee commit abdae59
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 11 deletions.
Binary file modified .gradle/6.4.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/6.4.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/6.4.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/6.4.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/6.4.1/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/6.4.1/javaCompile/classAnalysis.bin
Binary file not shown.
Binary file modified .gradle/6.4.1/javaCompile/javaCompile.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ email, or any other method with the owners of this repository before making a ch
# Authors

* **Olareanu Alexandru** wrote this thing
* Prof. Florea Delilah is Alexes teacher
* Razvan Filea & Oancea David are helping Alex out because he needs all the help he can get.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# Anagram Generator

The aim of this project is to build a simple anagram generator as a learning oportunity. It should have a fairly good and easy to use GUI and implement some fairly advanced algoritms.
The aim of this project is to build a simple anagram generator as a learning oportunity. It should have a fairly good
and easy to use GUI and implement some fairly advanced algoritms.

## Getting Started

The repository consists of the source files for a java project. There are no official releases as of right now, so you will have to compile it yourself.
The repository consists of the source files for a java project using gradle. This was set up in intellij IDEA.
There is a 0.1 release available, but it's incomplete and may be buggy.
No javadoc yet.

### Prerequisites

On this project openjdk-14 and javafx 11 have been used. (Probably will also work with older standards)

On this project openjdk-14 and javafx 14 have been used.
The releases contain a custom jre image so no jre is required.

### Installing

Download or clone the repository and compile it with your favourite tool. I have used the intelij built in complier.
Download or clone the repository and compile it with your favourite tool. I have used the intellij with gradle.
Alternatively, every release has a portable version and an installer.


## Built With
Expand Down Expand Up @@ -44,5 +47,6 @@ This project has no licence yet. This is on the long TODO list.

## Acknowledgments

Special thanks to my lads Razvan Filea ([The Luck Coder] (https://github.com/TheLuckyCoder) ) and Oancea David. This project would not have been posible without them.
We are all part of the [Gear Maniacs Robotics Team] (https://gearmaniacs.ro/)
Special thanks to my lads Razvan Filea [The Lucky Coder](https://github.com/TheLuckyCoder) and Oancea David
who helped me out when I got stuck.\
We are all part of the [Gear Maniacs Robotics Team](https://gearmaniacs.ro/)
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jlink {

javaHome = 'C:\\Users\\dell\\.jdks\\openjdk-14.0.1'

targetPlatform("win") {
jdkHome = "C:\\Users\\dell\\.jdks\\openjdk-14.0.1"
}

jpackage {
appVersion = "0.1"
skipInstaller = false
installerOptions = ['--win-menu']
installerType = "msi"
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/Controllers/HomeController.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void generateAnagrams() throws InvalidStringException {
public void onPressHelp() {
try {
Stage helpStage = new Stage();
Parent root = FXMLLoader.load(getClass().getResource("../../resources/Fxml/help.fxml"));
Parent root = FXMLLoader.load(getClass().getResource("/Fxml/help.fxml"));
helpStage.setTitle("Anagram Generator Help");
helpStage.setScene(new Scene(root, 480, 360));
helpStage.show();
Expand Down
1 change: 0 additions & 1 deletion src/main/java/home/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ public void start(Stage primaryStage) throws Exception {

public static void main(String[] args) {
launch(args);
System.out.println("aici!\n");
}
}

0 comments on commit abdae59

Please sign in to comment.