From 5e5491a9306688f6f582aec0bde99138f221e916 Mon Sep 17 00:00:00 2001 From: Naman Nigam Date: Wed, 13 Mar 2024 00:09:47 +0530 Subject: [PATCH] Add automatic module name for Gradle compatibility --- README.md | 6 ++++++ pom.xml | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index a239798cb0..012589cd86 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,12 @@ If you run into trouble with local tests, use: mvn package -Dmaven.test.skip=true ``` +When required within a modular Java application, use the directive: + +```java +requires twilio; +``` + ### Test your installation Try sending yourself an SMS message, like this: diff --git a/pom.xml b/pom.xml index 02c282e09d..5ad7792467 100644 --- a/pom.xml +++ b/pom.xml @@ -451,6 +451,17 @@ + + maven-jar-plugin + 3.3.0 + + + + twilio + + + + org.sonarsource.scanner.maven sonar-maven-plugin