mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Added multi release attribute
This commit is contained in:
parent
3c5ad3e85c
commit
952b7eccee
1 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@ application {
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
workingDir = project.ext.runDir
|
workingDir = project.ext.runDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,8 @@ jar {
|
||||||
archiveBaseName = 'brainwine'
|
archiveBaseName = 'brainwine'
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': project.ext.mainClass
|
attributes 'Main-Class': project.ext.mainClass,
|
||||||
|
'Multi-Release': 'true'
|
||||||
}
|
}
|
||||||
|
|
||||||
from {
|
from {
|
||||||
|
@ -36,7 +37,7 @@ jar {
|
||||||
|
|
||||||
task copyJar(type: Copy) {
|
task copyJar(type: Copy) {
|
||||||
from jar
|
from jar
|
||||||
into project.ext.outputDir
|
into project.ext.outputDir
|
||||||
}
|
}
|
||||||
|
|
||||||
jar.finalizedBy copyJar
|
jar.finalizedBy copyJar
|
Loading…
Add table
Reference in a new issue