Merge branch 'windows-tor-plugin' into 'master'

Add Tor plugin for Windows

See merge request briar/briar!1666
This commit is contained in:
Torsten Grote
2022-06-22 17:08:23 +00:00
9 changed files with 241 additions and 38 deletions

View File

@@ -60,7 +60,12 @@ void jarFactory(Jar jarTask, jarArchitecture) {
}
{
it.duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
String[] architectures = ["linux-aarch64", "linux-armhf", "linux-x86_64"]
String[] architectures = [
"linux-aarch64",
"linux-armhf",
"linux-x86_64",
"windows-x86_64"
]
for (String arch : architectures) {
if (arch != jarArchitecture) {
exclude "obfs4proxy_" + arch + ".zip"
@@ -113,6 +118,10 @@ task x86LinuxJar(type: Jar) {
jarFactory(it, 'linux-x86_64')
}
task windowsJar(type: Jar) {
jarFactory(it, 'windows-x86_64')
}
task linuxJars {
dependsOn(aarch64LinuxJar, armhfLinuxJar, x86LinuxJar)
}