2
0

Ensure maven.lyndir.com is accessed securely.

This commit is contained in:
Maarten Billemont 2018-06-10 19:11:22 -04:00
parent ed6c32811c
commit 1d06dd65ed
2 changed files with 2 additions and 4 deletions

View File

@ -32,6 +32,6 @@ subprojects {
google()
jcenter()
mavenCentral()
maven { url 'http://maven.lyndir.com' }
maven { url 'https://maven.lyndir.com' }
}
}

View File

@ -26,8 +26,6 @@ library {
// Reconfigure the toolchain from C++ to C.
toolChains {
withType( GccCompatibleToolChain ) {
//TODO: Cross-compiling, blocked by: https://github.com/gradle/gradle-native/issues/169
//setTargets( "arm", "arm64", "x86-64", "x86" )
eachPlatform {
cppCompiler.withArguments { addAll( ["-x", "c", "-std=c11", "-Werror", "-DMPW_SODIUM=1"] ) }
}
@ -38,11 +36,11 @@ library {
}
// Cross-compile for these host platforms.
// TODO: Cross-compiling, blocked by: https://github.com/gradle/gradle-native/issues/169 - CppLibraryPlugin.java:163
operatingSystems.set( [objects.named( OperatingSystemFamily, OperatingSystemFamily.WINDOWS ),
objects.named( OperatingSystemFamily, OperatingSystemFamily.LINUX ),
objects.named( OperatingSystemFamily, OperatingSystemFamily.MAC_OS )] )
//
binaries.configureEach {
// Resolve a standard name for the platform.
def platform = standardOperatingSystem( targetPlatform )