mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
cc636fff21
This is a complete redesign of what was previously XmppNioTcpConnection. The new architecture allows to extend an XMPP client to server (c2s) connection with new transport bindings and other extensions.
36 lines
867 B
Groovy
36 lines
867 B
Groovy
plugins {
|
|
id "com.github.alisiikh.scalastyle_2.12" version "2.0.2"
|
|
}
|
|
|
|
apply plugin: 'scala'
|
|
apply plugin: 'com.github.alisiikh.scalastyle_2.12'
|
|
|
|
ext {
|
|
scalaVersion = '2.12.1'
|
|
}
|
|
|
|
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')
|
|
|
|
compile "org.scala-lang:scala-library:$scalaVersion"
|
|
compile "com.lihaoyi:ammonite_$scalaVersion:1.3.2"
|
|
|
|
testCompile project(path: ":smack-core", configuration: "testRuntime")
|
|
}
|
|
|
|
scalaStyle {
|
|
config = new File(rootConfigDir, 'scalaStyle.xml')
|
|
verbose = true
|
|
failOnViolation = true
|
|
}
|
|
|
|
check.dependsOn(scalaStyleCheck)
|
|
|
|
task printClasspath(dependsOn: assemble) {
|
|
doLast {
|
|
println sourceSets.main.runtimeClasspath.asPath
|
|
}
|
|
}
|