2
0
MasterPassword/platform-independent/java/algorithm/build.gradle

35 lines
1.0 KiB
Groovy
Raw Normal View History

plugins {
id 'java-library'
}
2017-02-06 16:16:04 +00:00
description = 'Master Password Algorithm Implementation'
2018-07-26 19:05:58 +00:00
tasks.withType( JavaCompile ) {
// Native headers
2018-07-28 18:03:49 +00:00
options.compilerArgs += ["-h", new File( new File( project.project( ':masterpassword-core' ).projectDir, 'src' ), 'java' ).absolutePath]
2018-07-26 19:05:58 +00:00
}
configurations {
lib
2017-02-06 16:16:04 +00:00
}
2018-05-22 05:00:14 +00:00
dependencies {
2018-06-10 19:22:37 +00:00
implementation group: 'com.lyndir.lhunath.opal', name: 'opal-system', version: '1.7-p2'
2021-02-08 19:20:29 +00:00
implementation group: 'com.github.spotbugs', name: 'spotbugs-annotations', version: '4.2.1'
2018-05-22 05:00:14 +00:00
2019-09-23 18:13:03 +00:00
api group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.8'
api group: 'org.jetbrains', name: 'annotations', version: '16.0.2'
2018-05-22 05:00:14 +00:00
lib project( path: ':masterpassword-core', configuration: 'default' )
2018-05-22 05:00:14 +00:00
}
processResources {
dependsOn task( type: Sync, 'processResources-lib', {
into new File( processResources.outputs.files.singleFile, "lib" )
dependsOn configurations.lib {
2018-07-26 19:05:58 +00:00
files.each { libFile -> from( zipTree( libFile ) ) }
}
} )
2018-05-22 05:00:14 +00:00
}