You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
970 B

plugins {
id "com.github.alisiikh.scalastyle_2.12" version "2.0.2"
}
description = """\
A REPL (Read-Eval-Print-Loop) for Smack, or, in other words, a CLI (Command Line Interface) for Smack."""
apply plugin: 'scala'
apply plugin: 'com.github.alisiikh.scalastyle_2.12'
ext {
scalaVersion = '2.13.6'
}
dependencies {
// Smack's integration test framework (sintest) depends on
// smack-java*-full and since we may want to use parts of sinttest
// in the REPL, we simply depend sinttest.
api project(':smack-integration-test')
api project(':smack-omemo-signal')
implementation "org.scala-lang:scala-library:$scalaVersion"
implementation "com.lihaoyi:ammonite_$scalaVersion:2.4.0"
}
scalaStyle {
config = new File(rootConfigDir, 'scalaStyle.xml')
verbose = true
failOnViolation = true
}
check.dependsOn(scalaStyleCheck)
task printClasspath(dependsOn: assemble) {
doLast {
println sourceSets.main.runtimeClasspath.asPath
}
}