buildscript { repositories { mavenLocal() mavenCentral() maven { url "https://repo.maven.apache.org/maven2" } maven { url "https://plugins.gradle.org/m2/" } maven { url "https://gitlab.com/jottyfan/libs/-/raw/main" } jcenter() } dependencies { classpath 'com.google.code.gson:gson:2.8.6' classpath 'org.postgresql:postgresql:42.2.19' classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release' } } apply plugin: 'java' apply plugin: 'maven-publish' apply plugin: 'war' apply plugin: 'eclipse' group = 'jottyfan' version = '1.1.9.1' description = """timetrack""" sourceCompatibility = 11 targetCompatibility = 11 sourceSets { main.java.srcDirs = ['src/main/java'] main.resources.srcDirs = ['src/main/resources', 'src/main/webapp'] } tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } repositories { mavenLocal() mavenCentral() maven { url "https://www.jottyfan.de/mvnrepo" } maven { url "https://repo.maven.apache.org/maven2" } } dependencies { implementation 'org.jboss.weld.servlet:weld-servlet:2.4.8.Final' implementation 'de.jottyfan:timetrackjooq:0.1.0' implementation 'org.apache.myfaces.core:myfaces-api:2.3.8' implementation 'org.apache.myfaces.core:myfaces-impl:2.3.8' implementation 'net.bootsfaces:bootsfaces:1.5.0' implementation 'org.postgresql:postgresql:42.2.19' implementation 'org.jooq:jooq:3.14.4' implementation 'com.google.code.gson:gson:2.8.6' implementation 'org.jasypt:jasypt:1.9.3' implementation 'javax.servlet:javax.servlet-api:4.0.1' implementation 'org.apache.logging.log4j:log4j-core:2.16.0' implementation 'org.apache.logging.log4j:log4j-api:2.16.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0-M1' testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.0-M1' implementation 'org.postgresql:postgresql:42.2.19' } war { archiveName 'timetrack.war' manifest { attributes('Implementation-Version': project.version) } }