plugins { id 'java' id 'com.palantir.git-version' version '0.13.0' } group = 'foo.zaaarf' archivesBaseName = 'rc' version = gitVersion().split('-').getAt(0).replace('.dirty', '') java { sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 withSourcesJar() withJavadocJar() } javadoc { options { links 'https://docs.spring.io/spring-framework/docs/5.3.31/javadoc-api/' } } repositories { mavenCentral() } dependencies { implementation 'org.springframework:spring-web:5.3.31' }