This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push: new 70310f9a2 Ugly workaround to Gradle dependency resolution bug 70310f9a2 is described below commit 70310f9a2214b885d0ee3ce93d5d81347044138a Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br> AuthorDate: Sun Feb 18 11:10:37 2024 -0300 Ugly workaround to Gradle dependency resolution bug https://github.com/gradle/gradle/issues/18519 --- prebuild.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/prebuild.sh b/prebuild.sh new file mode 100644 index 000000000..490d56411 --- /dev/null +++ b/prebuild.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# A script to do anything that needs to be done before Gradle runs on Jenkins + +NETTY_VERSION=4.1.96.Final + +# Ugly workaround to https://github.com/gradle/gradle/issues/18519 +# Gradle dependency resolution for capability conflict does not work for +# transitive Maven dependencies with a classifier +# So we resolve these dependencies ourselves. :D +mkdir -p /home/$USER/.m2/repository/io/netty/netty-transport-native-epoll/$NETTY_VERSION/ +mkdir -p /home/$USER/.m2/repository/io/netty/netty-transport-native-kqueue/$NETTY_VERSION/ +curl https://repo1.maven.org/maven2/io/netty/netty-transport-native-epoll/$NETTY_VERSION/netty-transport-native-epoll-$NETTY_VERSION.pom -o /home/$USER/.m2/repository/io/netty/netty-transport-native-epoll/$NETTY_VERSION/netty-transport-native-epoll-$NETTY_VERSION-linux-x86_64.pom +curl https://repo1.maven.org/maven2/io/netty/netty-transport-native-epoll/$NETTY_VERSION/netty-transport-native-epoll-$NETTY_VERSION.jar -o /home/$USER/.m2/repository/io/netty/netty-transport-native-epoll/$NETTY_VERSION/netty-transport-native-epoll-$NETTY_VERSION-linux-x86_64.jar +curl https://repo1.maven.org/maven2/io/netty/netty-transport-native-kqueue/$NETTY_VERSION/netty-transport-native-kqueue-$NETTY_VERSION.pom -o /home/$USER/.m2/repository/io/netty/netty-transport-native-kqueue/$NETTY_VERSION/netty-transport-native-kqueue-$NETTY_VERSION-osx-x86_64.pom +curl https://repo1.maven.org/maven2/io/netty/netty-transport-native-kqueue/$NETTY_VERSION/netty-transport-native-kqueue-$NETTY_VERSION.jar -o /home/$USER/.m2/repository/io/netty/netty-transport-native-kqueue/$NETTY_VERSION/netty-transport-native-kqueue-$NETTY_VERSION-osx-x86_64.jar \ No newline at end of file