Moved to PircBotX and assertk.
This commit is contained in:
parent
2a46761dc5
commit
9fb870648e
83 changed files with 2347 additions and 2577 deletions
28
build.gradle
28
build.gradle
|
@ -2,12 +2,12 @@ plugins {
|
|||
id 'application'
|
||||
id 'com.github.ben-manes.versions' version '0.39.0'
|
||||
id 'idea'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.18.1'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.19.0-RC1'
|
||||
id 'jacoco'
|
||||
id 'java'
|
||||
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.6.0-RC'
|
||||
id 'org.jetbrains.kotlin.kapt' version '1.6.0-RC'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.6.0-RC2'
|
||||
id 'org.jetbrains.kotlin.kapt' version '1.6.0-RC2'
|
||||
id 'org.sonarqube' version '3.3'
|
||||
id 'pmd'
|
||||
}
|
||||
|
@ -22,12 +22,13 @@ mainClassName = packageName + '.Mobibot'
|
|||
|
||||
ext.versions = [
|
||||
log4j: '2.14.1',
|
||||
pmd : '6.35.0',
|
||||
pmd : '6.40.0',
|
||||
]
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
||||
}
|
||||
|
||||
|
@ -35,8 +36,13 @@ dependencies {
|
|||
kapt(semverProcessor)
|
||||
compileOnly(semverProcessor)
|
||||
|
||||
implementation 'pircbot:pircbot:1.5.0'
|
||||
compileOnly 'pircbot:pircbot:1.5.0:sources'
|
||||
implementation 'com.github.pircbotx:pircbotx:-SNAPSHOT'
|
||||
|
||||
implementation 'org.apache.commons:commons-text:1.9'
|
||||
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||
implementation 'org.slf4j:slf4j-api:1.7.32'
|
||||
implementation 'commons-codec:commons-codec:1.15'
|
||||
implementation 'com.google.guava:guava:31.0.1-jre'
|
||||
|
||||
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
|
||||
|
@ -44,11 +50,12 @@ dependencies {
|
|||
implementation "org.apache.logging.log4j:log4j-api:$versions.log4j"
|
||||
implementation "org.apache.logging.log4j:log4j-core:$versions.log4j"
|
||||
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j"
|
||||
implementation 'commons-cli:commons-cli:1.4'
|
||||
|
||||
implementation 'commons-cli:commons-cli:1.5.0'
|
||||
implementation 'commons-net:commons-net:3.8.0'
|
||||
|
||||
implementation 'com.rometools:rome:1.16.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
|
||||
implementation 'net.aksingh:owm-japis:2.5.3.0'
|
||||
implementation 'net.objecthunter:exp4j:0.4.8'
|
||||
|
||||
|
@ -59,7 +66,9 @@ dependencies {
|
|||
implementation 'org.jsoup:jsoup:1.14.3'
|
||||
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
||||
|
||||
testImplementation 'org.assertj:assertj-core:3.21.0'
|
||||
testImplementation 'com.willowtreeapps.assertk:assertk-jvm:0.25'
|
||||
// testImplementation 'org.mockito.kotlin:mockito-kotlin:4.0.0'
|
||||
// testImplementation "org.mockito:mockito-core:4.0.0"
|
||||
testImplementation 'org.testng:testng:7.4.0'
|
||||
}
|
||||
|
||||
|
@ -117,6 +126,7 @@ jar {
|
|||
manifest.attributes('Main-Class': mainClassName,
|
||||
'Class-Path': '. ./lib/' + configurations.runtimeClasspath.collect { it.getName() }.join(' ./lib/'))
|
||||
archiveVersion.set("")
|
||||
exclude('log4j2.xml')
|
||||
}
|
||||
|
||||
clean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue