37 lines
No EOL
749 B
Groovy
37 lines
No EOL
749 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group 'ru.erius'
|
|
version '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
junitVersion = '5.8.2'
|
|
}
|
|
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'javax.persistence:javax.persistence-api:2.2'
|
|
compileOnly 'javax.enterprise:cdi-api:2.0.SP1'
|
|
compileOnly 'javax.faces:javax.faces-api:2.3-pfd'
|
|
compileOnly 'org.postgresql:postgresql:42.5.4'
|
|
compileOnly 'org.hibernate:hibernate-core:6.1.7.Final'
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |