How to install tomcat plugin on an air-gapped machine?

plugins.gradle.org is effectively just a Maven repository with some custom UI.
So you can download it from https://plugins.gradle.org/m2/com/bmuschko/gradle-tomcat-plugin/2.7.0/.
Btw. fileTree or files is suboptimal as dependencies.
It is much better to use a flatDir repository and declaring the dependencies.
Then you for example can also see the dependencies in a ./gradlew dependencies report and so on.

1 Like