mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
fix for gradle >=6.8
This commit is contained in:
parent
0797217588
commit
07fe96c00b
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ java {
|
|||
}
|
||||
|
||||
application {
|
||||
mainClass.set("org.asamk.signal.Main")
|
||||
mainClassName = "org.asamk.signal.Main"
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -44,7 +44,7 @@ tasks.withType<Jar> {
|
|||
attributes(
|
||||
"Implementation-Title" to project.name,
|
||||
"Implementation-Version" to project.version,
|
||||
"Main-Class" to application.mainClass.get()
|
||||
"Main-Class" to application.mainClassName
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ val assembleNativeImage by tasks.registering {
|
|||
"--enable-all-security-services",
|
||||
"-cp",
|
||||
sourceSets.main.get().runtimeClasspath.asPath,
|
||||
application.mainClass.get())
|
||||
application.mainClassName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue