2018-10-29 08:34:15 +01:00
|
|
|
plugins {
|
2023-11-26 21:29:11 +01:00
|
|
|
id "com.github.alisiikh.scalastyle_2.12" version "2.1.0"
|
2018-10-29 08:34:15 +01:00
|
|
|
}
|
|
|
|
|
2020-05-21 09:47:02 +02:00
|
|
|
description = """\
|
|
|
|
A REPL (Read-Eval-Print-Loop) for Smack, or, in other words, a CLI (Command Line Interface) for Smack."""
|
|
|
|
|
2018-10-29 08:34:15 +01:00
|
|
|
apply plugin: 'scala'
|
|
|
|
apply plugin: 'com.github.alisiikh.scalastyle_2.12'
|
|
|
|
|
2016-02-10 14:09:13 +01:00
|
|
|
ext {
|
2023-11-26 21:29:11 +01:00
|
|
|
scalaVersion = '2.13.12'
|
2016-02-10 14:09:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-11-28 10:46:16 +01:00
|
|
|
api project(':smack-examples')
|
2020-04-04 13:03:31 +02:00
|
|
|
|
2021-04-14 19:24:30 +02:00
|
|
|
implementation "org.scala-lang:scala-library:$scalaVersion"
|
2023-11-26 21:29:11 +01:00
|
|
|
implementation "com.lihaoyi:ammonite_$scalaVersion:2.5.11"
|
2016-02-10 14:09:13 +01:00
|
|
|
}
|
|
|
|
|
2018-10-29 08:34:15 +01:00
|
|
|
scalaStyle {
|
|
|
|
config = new File(rootConfigDir, 'scalaStyle.xml')
|
|
|
|
verbose = true
|
|
|
|
failOnViolation = true
|
|
|
|
}
|
|
|
|
|
|
|
|
check.dependsOn(scalaStyleCheck)
|
|
|
|
|
2017-04-20 22:40:53 +02:00
|
|
|
task printClasspath(dependsOn: assemble) {
|
|
|
|
doLast {
|
|
|
|
println sourceSets.main.runtimeClasspath.asPath
|
|
|
|
}
|
2016-02-10 14:09:13 +01:00
|
|
|
}
|