[add] added gradle build files

This commit is contained in:
2020-01-29 01:19:10 -06:00
parent 1b2f23670a
commit d1357ac099
7 changed files with 336 additions and 0 deletions

31
build.gradle.kts Normal file
View File

@@ -0,0 +1,31 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Scala library project to get you started.
* For more details take a look at the Scala plugin chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.6.4/userguide/scala_plugin.html
*/
plugins {
// Apply the scala plugin to add support for Scala
scala
}
repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// Use Scala 2.11 in our library project
implementation("org.scala-lang:scala-library:2.11.12")
implementation("org.yaml:snakeyaml:1.25")
// Use Scalatest for testing our library
testImplementation("junit:junit:4.12")
testImplementation("org.scalatest:scalatest_2.11:3.0.8")
// Need scala-xml at test runtime
testRuntimeOnly("org.scala-lang.modules:scala-xml_2.11:1.2.0")
}