Skip to content

Commit

Permalink
commented out jar task to unblock github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukpotSym committed Nov 27, 2023
1 parent 65e25d4 commit 7df172c
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions languages/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}

// Gradle build requires GitHub workflow to copy native library to resources
// Uncomment copyNativeLib and jar tasks to use the local build (modify architecture if needed)
//tasks.register('copyNativeLib', Copy) {
// delete 'src/main/resources/darwin-aarch64'
// from '../../target/debug'
Expand All @@ -81,21 +83,8 @@ tasks.withType(Javadoc) {
// include '*bitwarden_c*.dll'
// into 'src/main/resources/darwin-aarch64'
//}

jar {
// Requires GitHub workflow to copy native library to resources
// Uncomment the line below and copyNativeLib task above to use the local build (modify architecture if needed)
// dependsOn tasks.named("copyNativeLib")
into('darwin-aarch64') {
from 'src/main/resources/darwin-aarch64'
}
into('darwin-x64') {
from 'src/main/resources/darwin-x64'
}
into('ubuntu-x64') {
from 'src/main/resources/ubuntu-x64'
}
into('windows-x64') {
from 'src/main/resources/windows-x64'
}
}
//
//jar {
// dependsOn tasks.named("copyNativeLib").get()
// from 'src/main/resources'
//}

0 comments on commit 7df172c

Please sign in to comment.