You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1017 B
52 lines
1017 B
plugins {
|
|
id 'java'
|
|
id 'scala'
|
|
id 'application'
|
|
}
|
|
|
|
final var scalaVersion = "2.13"
|
|
mainClassName = 'org.tbasket.Main'
|
|
group 'org.tbasket'
|
|
|
|
println("Running gradle on java version ${System.getProperty("java.version")}.")
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation project(':API')
|
|
implementation project(':DB')
|
|
implementation "io.circe:circe-core_$scalaVersion:0.15.0-M1"
|
|
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
run {
|
|
standardInput = System.in
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: 'scala'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
|
|
implementation "org.scala-lang:scala-library:$scalaVersion.10"
|
|
implementation "com.typesafe.akka:akka-actor-typed_$scalaVersion:2.7.0"
|
|
implementation "com.typesafe.akka:akka-stream-typed_$scalaVersion:2.7.0"
|
|
|
|
}
|
|
|
|
}
|