From 1110fdafdd54a1fb32233c55f672dd58020f680c Mon Sep 17 00:00:00 2001 From: Ruben Garcia <84038639+rgarciaruiz@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:45:15 -0700 Subject: [PATCH] Add rosjava patch to replace jcenter with mavenCentral (#811) Co-authored-by: Ruben Garcia --- .../rosjava/bootstrap/patches/replace_jcenter.patch | 13 +++++++++++++ .../setup/debians/rosjava/bootstrap/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 scripts/setup/debians/rosjava/bootstrap/patches/replace_jcenter.patch create mode 100644 scripts/setup/debians/rosjava/bootstrap/patches/series diff --git a/scripts/setup/debians/rosjava/bootstrap/patches/replace_jcenter.patch b/scripts/setup/debians/rosjava/bootstrap/patches/replace_jcenter.patch new file mode 100644 index 0000000000..7651dda0e1 --- /dev/null +++ b/scripts/setup/debians/rosjava/bootstrap/patches/replace_jcenter.patch @@ -0,0 +1,13 @@ +Index: ros-noetic-rosjava-bootstrap/build.gradle +=================================================================== +--- ros-noetic-rosjava-bootstrap.orig/build.gradle ++++ ros-noetic-rosjava-bootstrap/build.gradle +@@ -33,7 +33,7 @@ subprojects { + + // These external repositories are copied from bootstrap.gradle. + repositories { +- jcenter() ++ mavenCentral() + maven { + url "http://repository.springsource.com/maven/bundles/release" + } diff --git a/scripts/setup/debians/rosjava/bootstrap/patches/series b/scripts/setup/debians/rosjava/bootstrap/patches/series new file mode 100644 index 0000000000..444aadb038 --- /dev/null +++ b/scripts/setup/debians/rosjava/bootstrap/patches/series @@ -0,0 +1 @@ +replace_jcenter.patch