You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2022/01/09 21:49:11 UTC

[logging-log4j2] branch master updated: LOG4J2-3215 Replace usages of "compile" with "implementation" in the Gradle docs. (#624)

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e9e456  LOG4J2-3215 Replace usages of "compile" with "implementation" in the Gradle docs. (#624)
3e9e456 is described below

commit 3e9e456f4ba18846b11465584f653d353738d188
Author: Volkan Yazici <vo...@yazi.ci>
AuthorDate: Sun Jan 9 22:43:52 2022 +0100

    LOG4J2-3215 Replace usages of "compile" with "implementation" in the Gradle docs. (#624)
---
 src/changes/changes.xml                 | 3 +++
 src/site/markdown/maven-artifacts.md.vm | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cf75c6f..809b070 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -176,6 +176,9 @@
     </release>
     <release version="2.17.2" date="20YY-MM-DD" description="GA Release 2.17.2">
       <!-- FIXES -->
+      <action issue="LOG4J2-3215" dev="vy" due-to="quapka">
+        Replace usages of "compile" with "implementation" in the Gradle docs.
+      </action>
       <action issue="LOG4J2-3306" dev="rgoers" type="fix">
         OptionConverter could cause a StackOverflowError.
       </action>
diff --git a/src/site/markdown/maven-artifacts.md.vm b/src/site/markdown/maven-artifacts.md.vm
index 6780dd8..aed9577 100644
--- a/src/site/markdown/maven-artifacts.md.vm
+++ b/src/site/markdown/maven-artifacts.md.vm
@@ -59,7 +59,7 @@
 ```
 dependencies {
 #foreach($artifactId in $artifactIds)
-  compile group: 'org.apache.logging.log4j', name: '${artifactId}', version: '${version}'
+  implementation 'org.apache.logging.log4j:${artifactId}:${version}'
 #end
 }
 ```
@@ -166,8 +166,8 @@ dependencyManagement {
 }
 
 dependencies {
-  compile 'org.apache.logging.log4j:log4j-api'
-  compile 'org.apache.logging.log4j:log4j-core'
+  implementation 'org.apache.logging.log4j:log4j-api'
+  implementation 'org.apache.logging.log4j:log4j-core'
   // etc.
 }
 ```