34 lines
716 B
Groovy
Executable File
34 lines
716 B
Groovy
Executable File
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'ru.redguy'
|
|
version '1.0'
|
|
|
|
repositories {
|
|
maven {
|
|
url = "https://repo.redguy.ru/repository/maven-public/"
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
|
implementation 'commons-io:commons-io:2.11.0'
|
|
implementation 'org.reflections:reflections:0.9.11'
|
|
implementation 'org.jetbrains:annotations:20.1.0'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.compileJava.options.encoding = "UTF-8"
|
|
|
|
jar {
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|