mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-11 15:30:38 -05:00
app: move static files to /share
This commit is contained in:
@@ -32,12 +32,10 @@ dependencies {
|
||||
application {
|
||||
mainClassName = "org.nixos.gradle2nix.MainKt"
|
||||
applicationName = "gradle2nix"
|
||||
applicationDefaultJvmArgs += "-Dorg.nixos.gradle2nix.initScript=@APP_HOME@/gradle/init.gradle"
|
||||
applicationDefaultJvmArgs += "-Dorg.nixos.gradle2nix.share=@APP_HOME@/share"
|
||||
applicationDistribution
|
||||
.from(
|
||||
tasks.getByPath(":plugin:shadowJar"),
|
||||
project(":plugin").file("src/main/resources/init.gradle"))
|
||||
.into("gradle")
|
||||
.from(tasks.getByPath(":plugin:shadowJar"))
|
||||
.into("share")
|
||||
.rename("plugin.*\\.jar", "plugin.jar")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user