mirror of
https://gitgud.io/Stardust3D/rjw-patch-autopsy.git
synced 2024-08-15 00:43:41 +00:00
updated gradle
This commit is contained in:
parent
78d01d7760
commit
eeb61f1faa
3 changed files with 29 additions and 11 deletions
Binary file not shown.
Binary file not shown.
|
@ -30,32 +30,36 @@ tasks.register<Exec>("sign") {
|
|||
dependsOn("buildC#")
|
||||
workingDir = project.projectDir.resolve("${rootProject.name}/obj/Release")
|
||||
executable = "H:\\Windows Kits\\10\\bin\\10.0.22000.0\\x64\\signtool.exe"
|
||||
args = listOf("sign", "/seal", "/t", "http://timestamp.digicert.com", "/a", "/n", "Stardust3D", "/fd", "certHash", "${rootProject.name}.dll")
|
||||
args = listOf(
|
||||
"sign",
|
||||
"/seal",
|
||||
"/t",
|
||||
"http://timestamp.digicert.com",
|
||||
"/a",
|
||||
"/n",
|
||||
"Stardust3D",
|
||||
"/fd",
|
||||
"certHash",
|
||||
"${rootProject.name}.dll"
|
||||
)
|
||||
}
|
||||
|
||||
tasks.register("copyDll") {
|
||||
dependsOn("sign", "copyDll_Assemblies", "copyDll_1.3")
|
||||
dependsOn("copyDll_Assemblies", "copyDll_1.3")
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyDll_Assemblies") {
|
||||
dependsOn("buildC#", "clean_Assemblies")
|
||||
dependsOn("sign", "clean")
|
||||
from(project.projectDir.resolve("${rootProject.name}/obj/Release/${rootProject.name}.dll"))
|
||||
into(project.projectDir.parentFile.resolve("Assemblies"))
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyDll_1.3") {
|
||||
dependsOn("buildC#", "clean_1.3")
|
||||
dependsOn("sign", "clean")
|
||||
from(project.projectDir.resolve("${rootProject.name}/obj/Release/${rootProject.name}.dll"))
|
||||
into(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
||||
}
|
||||
|
||||
tasks.register<Delete>("clean_Assemblies") {
|
||||
delete.add(project.projectDir.parentFile.resolve("Assemblies"))
|
||||
}
|
||||
tasks.register<Delete>("clean_1.3") {
|
||||
delete.add(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
||||
}
|
||||
|
||||
tasks.register<Zip>("buildZip") {
|
||||
dependsOn(":copyDll")
|
||||
into("$friendlyName/1.3") {
|
||||
|
@ -75,3 +79,17 @@ tasks.register<Zip>("buildZip") {
|
|||
excludes.add("**/obj/**")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.clean {
|
||||
dependsOn("buildC#")
|
||||
delete.add(project.projectDir.parentFile.resolve("Assemblies"))
|
||||
delete.add(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
//dependsOn("buildC#")
|
||||
}
|
||||
|
||||
tasks.assemble {
|
||||
dependsOn("buildZip")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue