summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAdrien Hopkins <ahopk127@my.yorku.ca>2021-03-27 16:36:39 -0500
committerAdrien Hopkins <ahopk127@my.yorku.ca>2021-03-27 16:36:39 -0500
commit2eee97c9e64dca79fc6b1614b304b398d25a7f4b (patch)
treef14d4237a3ce71d21d02b29719a5fb6595fe4091 /build.gradle
parentfe4135a68cfed92ef336eec663e9c42c2c97dcbc (diff)
Added automatic building with Gradle
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle30
1 files changed, 30 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..9d054c3
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,30 @@
+plugins {
+ id "java"
+ id "application"
+}
+
+java {
+ sourceCompatibility = JavaVersion.VERSION_11
+}
+
+mainClassName = "org.unitConverter.converterGUI.UnitConverterGUI"
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
+ testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.0'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
+}
+
+test {
+ useJUnitPlatform()
+ testLogging {
+ events 'passed', 'skipped', 'failed'
+ }
+}
+
+run {
+} \ No newline at end of file