Skip to content

Commit

Permalink
fix implied deps error gradle publish task is complaining about (#179)
Browse files Browse the repository at this point in the history
Signed-off-by: garyschulte <garyschulte@gmail.com>
  • Loading branch information
garyschulte authored Jun 25, 2024
1 parent fd81455 commit 3325f26
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions altbn128/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ task macArmLibCopy(type: Copy) {
from 'build/darwin-aarch64/lib/libeth_altbn128.dylib'
into 'build/resources/main/darwin-aarch64'
}
jar.dependsOn macArmLibCopy
processResources.dependsOn macArmLibCopy

task macLibCopy(type: Copy) {
from 'build/darwin-x86-64/lib/libeth_altbn128.dylib'
into 'build/resources/main/darwin-x86-64'
}
jar.dependsOn macLibCopy
processResources.dependsOn macLibCopy

task linuxLibCopy(type: Copy) {
from 'build/linux-gnu-x86_64/lib/libeth_altbn128.so'
into 'build/resources/main/linux-x86-64'
}
jar.dependsOn linuxLibCopy
processResources.dependsOn linuxLibCopy

task linuxArm64LibCopy(type: Copy) {
from 'build/linux-gnu-aarch64/lib/libeth_altbn128.so'
into 'build/resources/main/linux-aarch64'
}
jar.dependsOn linuxArm64LibCopy
processResources.dependsOn linuxArm64LibCopy

jar {
archiveBaseName = 'besu-native-altbn128'
Expand Down
8 changes: 4 additions & 4 deletions secp256k1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ task macArmLibCopy(type: Copy) {
from 'build/darwin-aarch64/lib/libsecp256k1.dylib'
into 'build/resources/main/darwin-aarch64'
}
jar.dependsOn macArmLibCopy
processResources.dependsOn macArmLibCopy

task macLibCopy(type: Copy) {
from 'build/darwin-x86-64/lib/libsecp256k1.dylib'
into 'build/resources/main/darwin-x86-64'
}
jar.dependsOn macLibCopy
processResources.dependsOn macLibCopy

task linuxLibCopy(type: Copy) {
from 'build/linux-gnu-x86_64/lib/libsecp256k1.so'
into 'build/resources/main/linux-x86-64'
}
jar.dependsOn linuxLibCopy
processResources.dependsOn linuxLibCopy

task linuxArm64LibCopy(type: Copy) {
from 'build/linux-gnu-aarch64/lib/libsecp256k1.so'
into 'build/resources/main/linux-aarch64'
}
jar.dependsOn linuxArm64LibCopy
processResources.dependsOn linuxArm64LibCopy

jar {
archiveBaseName = 'besu-native-secp256k1'
Expand Down
8 changes: 4 additions & 4 deletions secp256r1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,28 @@ task macArmLibCopy(type: Copy) {
from 'besu-native-ec/release/darwin-aarch64/libbesu_native_ec_crypto.dylib'
into 'build/resources/main/darwin-aarch64'
}
jar.dependsOn macArmLibCopy
processResources.dependsOn macArmLibCopy

task macLibCopy(type: Copy) {
from 'besu-native-ec/release/darwin-x86-64/libbesu_native_ec.dylib'
from 'besu-native-ec/release/darwin-x86-64/libbesu_native_ec_crypto.dylib'
into 'build/resources/main/darwin-x86-64'
}
jar.dependsOn macLibCopy
processResources.dependsOn macLibCopy

task linuxLibCopy(type: Copy) {
from 'besu-native-ec/release/linux-gnu-x86_64/libbesu_native_ec.so'
from 'besu-native-ec/release/linux-gnu-x86_64/libbesu_native_ec_crypto.so'
into 'build/resources/main/linux-x86-64'
}
jar.dependsOn linuxLibCopy
processResources.dependsOn linuxLibCopy

task linuxArm64LibCopy(type: Copy) {
from 'besu-native-ec/release/linux-gnu-aarch64/libbesu_native_ec.so'
from 'besu-native-ec/release/linux-gnu-aarch64/libbesu_native_ec_crypto.so'
into 'build/resources/main/linux-aarch64'
}
jar.dependsOn linuxArm64LibCopy
processResources.dependsOn linuxArm64LibCopy

jar {
archiveBaseName = 'besu-native-secp256r1'
Expand Down

0 comments on commit 3325f26

Please sign in to comment.