2023-08-27 14:59:38 +03:00
|
|
|
ext {
|
|
|
|
versions = [
|
|
|
|
json: '20230227', // org.json:json
|
|
|
|
snakeyaml: '1.20', // org.yaml:snakeyaml
|
|
|
|
okhttp: '3.8.1', // com.squareup.okhttp3:okhttp
|
|
|
|
socket: '1.0.2', // io.socket:socket.io-client
|
|
|
|
jline: '2.14.5', // jline:jline
|
|
|
|
|
|
|
|
junit: '5.9.2', // org.junit:junit-bom
|
2023-09-11 19:15:01 +03:00
|
|
|
jmh: '1.37', // org.openjdk.jmh:jmh-core
|
|
|
|
assertj: '3.24.2' // org.assertj:assertj-core
|
2023-08-27 14:59:38 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2023-08-26 15:59:36 +03:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2019-05-22 19:10:48 +03:00
|
|
|
}
|
|
|
|
|
2023-08-26 15:59:36 +03:00
|
|
|
gradle.projectsEvaluated {
|
2023-08-27 14:59:38 +03:00
|
|
|
tasks.withType(JavaCompile).tap {
|
|
|
|
configureEach {
|
|
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
|
|
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
|
|
}
|
2023-08-26 15:59:36 +03:00
|
|
|
}
|
2019-05-22 19:10:48 +03:00
|
|
|
}
|
|
|
|
}
|