mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-27 09:39:08 +01:00
Use new File instead of direct assignement
This commit is contained in:
16
build.gradle
16
build.gradle
@@ -281,7 +281,7 @@ subprojects {
|
|||||||
libName = 'libcrypto.a'
|
libName = 'libcrypto.a'
|
||||||
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
libName = 'libcrypto.a'
|
libName = 'libcrypto.a'
|
||||||
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
||||||
}
|
}
|
||||||
@@ -298,7 +298,7 @@ subprojects {
|
|||||||
libName = 'libcrypto.a'
|
libName = 'libcrypto.a'
|
||||||
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
libName = 'libcrypto.a'
|
libName = 'libcrypto.a'
|
||||||
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
||||||
}
|
}
|
||||||
@@ -327,7 +327,7 @@ subprojects {
|
|||||||
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
||||||
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir =new File("$openSSL64LinuxInc/include")
|
||||||
dllName = 'libcrypto.so'
|
dllName = 'libcrypto.so'
|
||||||
linkName = 'libcrypto.a'
|
linkName = 'libcrypto.a'
|
||||||
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
||||||
@@ -352,7 +352,7 @@ subprojects {
|
|||||||
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
||||||
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
dllName = 'libcrypto.so'
|
dllName = 'libcrypto.so'
|
||||||
linkName = 'libcrypto.a'
|
linkName = 'libcrypto.a'
|
||||||
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
||||||
@@ -380,7 +380,7 @@ subprojects {
|
|||||||
libName = 'libssl.a'
|
libName = 'libssl.a'
|
||||||
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
libName = 'libssl.a'
|
libName = 'libssl.a'
|
||||||
staticLibraryFile = new File("$openSSL64LinuxLib", "$libName")
|
staticLibraryFile = new File("$openSSL64LinuxLib", "$libName")
|
||||||
}
|
}
|
||||||
@@ -397,7 +397,7 @@ subprojects {
|
|||||||
libName = 'libssl.a'
|
libName = 'libssl.a'
|
||||||
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
staticLibraryFile = new File("$openSSLBrewHome/lib/$libName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
libName = 'libssl.a'
|
libName = 'libssl.a'
|
||||||
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
staticLibraryFile = new File("$openSSL64LinuxLib/$libName")
|
||||||
}
|
}
|
||||||
@@ -426,7 +426,7 @@ subprojects {
|
|||||||
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
||||||
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
dllName = "libssl.so"
|
dllName = "libssl.so"
|
||||||
linkName = "libssl.a"
|
linkName = "libssl.a"
|
||||||
sharedLibraryFile = new File("$openSSL64LinuxLib", dllName)
|
sharedLibraryFile = new File("$openSSL64LinuxLib", dllName)
|
||||||
@@ -450,7 +450,7 @@ subprojects {
|
|||||||
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName")
|
||||||
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName")
|
||||||
} else if (targetPlatform.operatingSystem.linux) {
|
} else if (targetPlatform.operatingSystem.linux) {
|
||||||
headers.srcDir "$openSSL64LinuxInc/include"
|
headers.srcDir = new File("$openSSL64LinuxInc/include")
|
||||||
dllName = 'libssl.so'
|
dllName = 'libssl.so'
|
||||||
linkName = 'libssl.a'
|
linkName = 'libssl.a'
|
||||||
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
sharedLibraryFile = new File("$openSSL64LinuxLib/$dllName")
|
||||||
|
|||||||
Reference in New Issue
Block a user