mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
initial
This commit is contained in:
parent
40fc712581
commit
7a86423487
2 changed files with 18 additions and 1 deletions
|
@ -6,6 +6,7 @@ plugins {
|
|||
}
|
||||
|
||||
version = "0.7.4"
|
||||
group = "org.asamk.signal"
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
|
@ -44,7 +45,10 @@ tasks.withType<Jar> {
|
|||
attributes(
|
||||
"Implementation-Title" to project.name,
|
||||
"Implementation-Version" to project.version,
|
||||
"Main-Class" to application.mainClass.get()
|
||||
"Main-Class" to application.mainClass.get(),
|
||||
"Automatic-Module-Name" to project.name,
|
||||
// Custom (non-standard) attribute
|
||||
"Maven-Group" to project.group
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,19 @@ configurations {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
manifest {
|
||||
attributes(
|
||||
"Implementation-Title" to project.name,
|
||||
"Implementation-Version" to project.version,
|
||||
// use a more meaningful name than 'lib'
|
||||
"Automatic-Module-Name" to "signal-lib",
|
||||
// Custom (non-standard) attribute
|
||||
"Maven-Group" to project.group
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue