File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,15 @@ JAVADOC_JAR_PATH="../approov-service/docs/javadoc.jar"
4444# which MUST match the VERSION variable above
4545POM_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
4857if [ ! -f ${AAR_PATH} ]; then
4958 echo " File not found: ${AAR_PATH} "
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments