-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.43 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Scala application project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.6/userguide/building_java_projects.html
*/
plugins {
// Apply the scala Plugin to add support for Scala.
id 'scala'
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use Scala 2.13 in our library project
implementation 'org.scala-lang:scala-library:2.13.12'
implementation group: 'org.scala-lang.modules', name: 'scala-swing_2.13', version: '3.0.0'
// This dependency is used by the application.
implementation 'com.google.guava:guava:32.1.3-jre'
// Use Scalatest for testing our library
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.scalatest:scalatest_2.13:3.3.0-SNAP4'
testImplementation 'org.scalatestplus:junit-4-13_2.13:3.3.0.0-SNAP3'
implementation 'org.scala-lang.modules:scala-parallel-collections_2.13:1.0.4'
// Need scala-xml at test runtime
testRuntimeOnly 'org.scala-lang.modules:scala-xml_2.13:2.2.0'
}
application {
// Define the main class for the application.
mainClass = 'dev.gabrielsson.App'
}