Fix AbstractArchiveTask deprecations
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
44b2905800
commit
61b12c9dbf
@@ -53,7 +53,7 @@ if (deployVersion != null) {
|
||||
|
||||
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
|
||||
callGroovy("manifestAttributes", manifest, project)
|
||||
manifest.attributes["Implementation-Version"] = version
|
||||
manifest.attributes["Implementation-Version"] = archiveVersion
|
||||
|
||||
from(mainSourceSet.output)
|
||||
exclude("**/*.proto")
|
||||
|
||||
@@ -42,7 +42,7 @@ if (deployVersion != null) {
|
||||
|
||||
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
|
||||
callGroovy("manifestAttributes", manifest, project)
|
||||
manifest.attributes["Implementation-Version"] = version
|
||||
manifest.attributes["Implementation-Version"] = archiveVersion
|
||||
|
||||
from(mainSourceSet.output)
|
||||
exclude("**/*.proto")
|
||||
|
||||
Reference in New Issue
Block a user