29 lines
467 B
Groovy
29 lines
467 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group 'ru.erius'
|
||
|
version '1.0'
|
||
|
def main_class = group + '.hamming.Hamming'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes(
|
||
|
'Manifest-Version': '1.0',
|
||
|
'Main-Class': main_class
|
||
|
)
|
||
|
}
|
||
|
}
|