Skip to content

Commit

Permalink
gradle set up
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrMakarewicz committed Aug 31, 2021
1 parent 3ff21cf commit c286256
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 13 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
}

version '1.0-SNAPSHOT'
Expand All @@ -11,9 +13,19 @@ repositories {
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
implementation 'org.openjfx:javafx:17-ea+17'
apply plugin: 'application'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
}

run {
mainClassName = 'application.Main'
}

test {
useJUnitPlatform()
}

javafx {
version = "15.0.1"
modules = [ 'javafx.controls' ]
}
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
rootProject.name = 'EvolutionSimulator'

0 comments on commit c286256

Please sign in to comment.