Smack/smack-repl/build.gradle

35 lines
753 B
Groovy
Raw Permalink Normal View History

2018-10-29 08:34:15 +01:00
plugins {
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 {
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')
implementation "org.scala-lang:scala-library:$scalaVersion"
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
}