Skip to content

Commit

Permalink
Jakarta - Kotlin - Also transform all-open annotations in pom files
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Feb 2, 2023
1 parent 376827b commit 6964567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jakarta/transform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ transform_kotlin_module () {
find $1 -name '*.kt' | xargs --no-run-if-empty sed -i "s@import ${package}@import ${newPackage}@g"
find $1 -name '*.kts' | xargs --no-run-if-empty sed -i "s@annotation(\"${package}@annotation(\"${newPackage}@g"
find $1 -name 'build*.gradle' | xargs --no-run-if-empty sed -i "s@annotation(\"${package}@annotation(\"${newPackage}@g"
find $1 -name 'pom*.xml' | grep -v 'integration-tests/simple' | xargs --no-run-if-empty sed -i "s@annotation=${package}@annotation=${newPackage}@g"
done
}

Expand Down

0 comments on commit 6964567

Please sign in to comment.