Skip to content

Commit 47aa2be

Browse files
authored
Merge pull request #7 from approov/bugfix/bouncycastle-dependency
Add missing bouncycastle dependency.
2 parents 8de8977 + 5551126 commit 47aa2be

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.maven/build-and-sign.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ JAVADOC_JAR_PATH="../approov-service/docs/javadoc.jar"
4444
# which MUST match the VERSION variable above
4545
POM_FILE_PATH="../approov-service/pom.xml"
4646

47+
# Place the package version in the correct pom file location replacing VERSION_PLACEHOLDER string
48+
if [[ "$OSTYPE" == "darwin"* ]]; then
49+
# macOS (BSD sed requires a backup suffix with -i)
50+
sed -i '' "s/VERSION_PLACEHOLDER/${VERSION}/g" "$POM_FILE_PATH"
51+
else
52+
# Linux (GNU sed allows -i without a suffix)
53+
sed -i "s/VERSION_PLACEHOLDER/${VERSION}/g" "$POM_FILE_PATH"
54+
fi
55+
4756
# Check if the above files exist before proceeding further
4857
if [ ! -f ${AAR_PATH} ]; then
4958
echo "File not found: ${AAR_PATH}"

approov-service/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
<version>4.12.0</version>
3838
<scope>runtime</scope>
3939
</dependency>
40+
<dependency>
41+
<groupId>org.bouncycastle</groupId>
42+
<artifactId>bcprov-jdk18on</artifactId>
43+
<version>1.80</version>
44+
<scope>runtime</scope>
45+
</dependency>
4046
<dependency>
4147
<groupId>io.approov</groupId>
4248
<artifactId>approov-android-sdk</artifactId>

0 commit comments

Comments
 (0)