mirror of
https://gitlab.com/spectre.app/cli.git
synced 2024-11-01 10:51:44 +01:00
Fix inter-project dependency and including libs into algorithm jar.
This commit is contained in:
parent
70cdd523c9
commit
86f107dafc
1 changed files with 9 additions and 9 deletions
18
build.gradle
18
build.gradle
|
@ -8,14 +8,14 @@ plugins {
|
|||
|
||||
description = 'Master Password Algorithm Implementation'
|
||||
|
||||
task archive( type: Zip ) {
|
||||
dependsOn assemble
|
||||
|
||||
components.withType( ComponentWithRuntimeFile ) {
|
||||
if (isOptimized()) {
|
||||
from getRuntimeFile()
|
||||
into standardOperatingSystem( linkTask.get().targetPlatform.get() ) + '/' +
|
||||
standardArchitecture( linkTask.get().targetPlatform.get() )
|
||||
artifacts {
|
||||
'default' task( type: Zip, "archive" ) {
|
||||
components.withType( ComponentWithRuntimeFile ) {
|
||||
if (isOptimized()) {
|
||||
from getRuntimeFile()
|
||||
into standardOperatingSystem( linkTask.get().targetPlatform.get() ) + '/' +
|
||||
standardArchitecture( linkTask.get().targetPlatform.get() )
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,6 @@ library {
|
|||
}
|
||||
}
|
||||
components.withType( CppComponent ) {
|
||||
// Reconfigure the toolchain from C++ to C.
|
||||
cppSource.from fileTree( dir: "src", include: "**/*.c" )
|
||||
}
|
||||
|
||||
|
@ -43,6 +42,7 @@ library {
|
|||
objects.named( OperatingSystemFamily, OperatingSystemFamily.LINUX ),
|
||||
objects.named( OperatingSystemFamily, OperatingSystemFamily.MAC_OS )] )
|
||||
|
||||
//
|
||||
binaries.configureEach {
|
||||
// Resolve a standard name for the platform.
|
||||
def platform = standardOperatingSystem( targetPlatform )
|
||||
|
|
Loading…
Reference in a new issue