Skip to content
Snippets Groups Projects
Commit 7b33f822 authored by dgelessus's avatar dgelessus
Browse files

Replace uses of deprecated Gradle baseName property

parent e2d704c8
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ dependencies { ...@@ -18,7 +18,7 @@ dependencies {
} }
task fatJar(type: Jar) { task fatJar(type: Jar) {
baseName = project.name + '-all' archivesBaseName = project.name + '-all'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
{ {
exclude "META-INF/*.SF" exclude "META-INF/*.SF"
......
...@@ -18,7 +18,7 @@ dependencies { ...@@ -18,7 +18,7 @@ dependencies {
} }
task fatJar(type: Jar) { task fatJar(type: Jar) {
baseName = project.name + '-all' archivesBaseName = project.name + '-all'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
{ {
exclude "META-INF/*.SF" exclude "META-INF/*.SF"
......
...@@ -52,7 +52,7 @@ jar { ...@@ -52,7 +52,7 @@ jar {
} }
task fatJar(type: Jar) { task fatJar(type: Jar) {
baseName = project.name + '-all' archivesBaseName = project.name + '-all'
manifest { manifest {
attributes( attributes(
'Main-Class': 'de.hhu.stups.codegenerator.CodeGenerator' 'Main-Class': 'de.hhu.stups.codegenerator.CodeGenerator'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment