Skip to content

Commit

Permalink
fix: build script gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
elblasco committed Sep 28, 2024
1 parent 66e85ba commit 970e48e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
apply plugin: 'java'
apply plugin: 'application'
plugins {
id 'java'
id 'application'
}

group = 'it.unitn.disi.ds1.qtop'
version = '1.0-SNAPSHOT'
version = '1.0'

repositories {
mavenCentral()
mavenLocal()
}

def versions = [
ext {
versions = [
ScalaBinary: "2.13"
]
]
}

dependencies {
implementation platform("com.typesafe.akka:akka-bom_${versions.ScalaBinary}:2.6.13")
Expand All @@ -20,11 +24,13 @@ dependencies {
implementation 'org.jetbrains:annotations:24.0.0'
}

compileJava {
tasks.withType(JavaCompile) {
options.compilerArgs += ["-Xlint:deprecation"]
}

mainClassName = "it.unitn.disi.ds1.qtop.QTop"
application {
mainClassName = "it.unitn.disi.ds1.qtop.QTop"
}

run {
standardInput = System.in
Expand Down

0 comments on commit 970e48e

Please sign in to comment.