[add] added gradle build files
This commit is contained in:
31
build.gradle.kts
Normal file
31
build.gradle.kts
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user