IDEA project configuration: convert Log4J to repository library

This commit is contained in:
nik
2018-03-27 14:32:28 +03:00
parent c0a2a50aff
commit 7c121781bc
6 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
<component name="libraryTable">
<library name="Log4J">
<library name="Log4J" type="repository">
<properties maven-id="log4j:log4j:1.2.17" />
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/log4j.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/lib/src/log4j.zip!/java" />
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -25,6 +25,7 @@ dependencies {
buildScriptsDeps loadLibraryMavenId("Netty")
buildScriptsDeps loadLibraryMavenId("lz4-java")
buildScriptsDeps(loadLibraryMavenId("gant-groovy"), { transitive = false })
buildScriptsDeps loadLibraryMavenId("Log4J")
}
/**
-1
View File
@@ -34,7 +34,6 @@
</fileset>
<fileset dir="${idea.lib}">
<include name="jdom.jar"/>
<include name="log4j.jar"/>
<include name="asm-all.jar"/>
<include name="jgoodies-forms.jar"/>
<include name="picocontainer.jar"/>
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -141,6 +141,7 @@ class DistributionJARsBuilder {
}
withProjectLibrariesFromIncludedModules(buildContext)
removeVersionFromProjectLibraryJarNames("Trove4j")
removeVersionFromProjectLibraryJarNames("Log4J")
}
}