Moved to Log4J 2.
This commit is contained in:
parent
32f0585a3c
commit
30c29f1a53
13 changed files with 149 additions and 178 deletions
|
@ -10,13 +10,22 @@
|
|||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="Kobalt: com.beust.kobalt:kobalt:jar:1.0.83">
|
||||
<library name="Kobalt: kobalt-versioneye-0.4.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.83/kobalt/wrapper/kobalt-1.0.83.jar!/" />
|
||||
<root url="jar://$USER_HOME$/.kobalt/cache/net/thauvin/erik/kobalt-versioneye/0.4.5/kobalt-versioneye-0.4.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="Kobalt: com.beust.kobalt:kobalt:jar:1.0.86">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.86/kobalt/wrapper/kobalt-1.0.86.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.83/kobalt/wrapper/kobalt-1.0.83-sources.jar!/" />
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.86/kobalt/wrapper/kobalt-1.0.86-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
|
|
|
@ -15,6 +15,7 @@ import java.util.*
|
|||
|
||||
val bs = buildScript {
|
||||
repos(localMaven())
|
||||
plugins("net.thauvin.erik:kobalt-versioneye:")
|
||||
}
|
||||
|
||||
val mainClassName = "net.thauvin.erik.mobibot.Mobibot"
|
||||
|
@ -52,29 +53,27 @@ val p = project {
|
|||
val lib = "lib"
|
||||
|
||||
dependencies {
|
||||
compile("log4j:log4j:jar:1.2.17")
|
||||
|
||||
compile("pircbot:pircbot:1.5.0")
|
||||
|
||||
//compile("commons-codec:commons-codec:1.10")
|
||||
compile("commons-logging:commons-logging:1.2")
|
||||
compile("commons-net:commons-net:3.6")
|
||||
compile("org.apache.logging.log4j:log4j-api:2.8.2")
|
||||
compile("org.apache.logging.log4j:log4j-core:2.8.2")
|
||||
|
||||
compile("commons-cli:commons-cli:1.4")
|
||||
|
||||
compile("commons-net:commons-net:3.6")
|
||||
compile("com.squareup.okhttp3:okhttp:3.8.0")
|
||||
|
||||
compile("oro:oro:2.0.8")
|
||||
compile("com.rometools:rome:1.7.3", "org.apache.logging.log4j:log4j-slf4j-impl:jar:2.8.2")
|
||||
|
||||
compile("org.jsoup:jsoup:1.10.2")
|
||||
compile("com.rometools:rome:1.7.3")
|
||||
compile("org.slf4j:slf4j-log4j12:1.7.25")
|
||||
compile("org.json:json:20170516")
|
||||
compile("org.ostermiller:utils:1.07.00")
|
||||
|
||||
compile("org.jsoup:jsoup:1.10.2")
|
||||
compile("net.objecthunter:exp4j:0.4.8")
|
||||
|
||||
compile("org.twitter4j:twitter4j-core:4.0.6")
|
||||
compile("net.thauvin.erik:pinboard-poster:0.9.1")
|
||||
|
||||
// https://bitbucket.org/akapribot/owm-japis/
|
||||
compile(file("lib/owm-japis-2.5.0.5.jar"))
|
||||
|
||||
apt(processorJar)
|
||||
|
@ -98,7 +97,6 @@ val p = project {
|
|||
attributes("Main-Class", mainClassName)
|
||||
attributes("Class-Path",
|
||||
collect(compileDependencies)
|
||||
.filter { !it.file.name.startsWith("junit") }
|
||||
.map { it.file.name }
|
||||
.joinToString(" ./$lib/", prefix = ". ./$lib/"))
|
||||
}
|
||||
|
@ -113,9 +111,8 @@ val p = project {
|
|||
install {
|
||||
target = deploy
|
||||
include(from("kobaltBuild/libs"), to(target), glob("**/*"))
|
||||
include(from("properties"), to(target), glob("**/*.properties"))
|
||||
include(from("properties"), to(target), glob("**/*"))
|
||||
collect(compileDependencies)
|
||||
.filter { !it.file.name.startsWith("junit") }
|
||||
.forEach {
|
||||
copy(from(it.file.absolutePath), to("$target/$lib"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue