Switched to PircbotX 2.4-SNAPSHOT
This commit is contained in:
parent
afece310d2
commit
d6c0b99869
7 changed files with 27 additions and 20 deletions
5
.idea/jarRepositories.xml
generated
5
.idea/jarRepositories.xml
generated
|
@ -31,5 +31,10 @@
|
|||
<option name="name" value="maven" />
|
||||
<option name="url" value="https://jitpack.io" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="MavenLocal" />
|
||||
<option name="name" value="MavenLocal" />
|
||||
<option name="url" value="file:$PROJECT_DIR$/../../maven/repository/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
|
@ -28,7 +28,7 @@ mainClassName = packageName + '.Mobibot'
|
|||
|
||||
ext.versions = [
|
||||
log4j: '2.18.0',
|
||||
pmd : '6.48.0',
|
||||
pmd : '6.49.0',
|
||||
]
|
||||
|
||||
repositories {
|
||||
|
@ -43,7 +43,9 @@ dependencies {
|
|||
compileOnly(semverProcessor)
|
||||
|
||||
// PircBotX
|
||||
implementation 'com.github.pircbotx:pircbotx:-SNAPSHOT'
|
||||
//implementation 'com.github.pircbotx:pircbotx:-SNAPSHOT'
|
||||
implementation fileTree(dir: 'lib', include: '*.jar')
|
||||
|
||||
|
||||
// Commons
|
||||
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||
|
@ -76,7 +78,7 @@ dependencies {
|
|||
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
||||
|
||||
// Thauvin
|
||||
implementation 'net.thauvin.erik:cryptoprice:0.9.0'
|
||||
implementation 'net.thauvin.erik:cryptoprice:1.0.0-SNAPSHOT'
|
||||
implementation 'net.thauvin.erik:pinboard-poster:1.0.3'
|
||||
|
||||
testImplementation 'com.willowtreeapps.assertk:assertk-jvm:0.25'
|
||||
|
|
19
deploy.sh
19
deploy.sh
|
@ -1,12 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
DEPLOYDIR=/home/erik/mobitopia/mobibot
|
||||
|
||||
if [ -f "deploy/mobibot.jar" ]; then
|
||||
/bin/cp deploy/mobibot.jar $DEPLOYDIR
|
||||
rm -rf $DEPLOYDIR/lib/*.jar
|
||||
cp deploy/lib/*.jar $DEPLOYDIR/lib
|
||||
chmod 755 $DEPLOYDIR/*.jar $DEPLOYDIR/lib/*.jar
|
||||
else
|
||||
echo "mobibot.jar not found."
|
||||
fi
|
||||
./gradlew deploy
|
||||
[ $? -eq 0 ] && sftp nix3.thauvin.us <<EOF
|
||||
cd mobitopia/mobibot
|
||||
lcd deploy
|
||||
put *.jar
|
||||
cd lib
|
||||
rm *.jar
|
||||
put lib/*.jar
|
||||
EOF
|
||||
|
|
Binary file not shown.
BIN
lib/pircbotx-2.4-SNAPSHOT.jar
Normal file
BIN
lib/pircbotx-2.4-SNAPSHOT.jar
Normal file
Binary file not shown.
|
@ -36,14 +36,15 @@ import net.thauvin.erik.mobibot.Utils.helpFormat
|
|||
import net.thauvin.erik.mobibot.Utils.isChannelOp
|
||||
import net.thauvin.erik.mobibot.Utils.sendList
|
||||
import net.thauvin.erik.mobibot.Utils.toIsoLocalDate
|
||||
import org.pircbotx.PircBotX
|
||||
import org.pircbotx.hooks.types.GenericMessageEvent
|
||||
|
||||
class Versions : AbstractCommand() {
|
||||
private val allVersions = listOf(
|
||||
"Version : ${ReleaseInfo.VERSION} (${ReleaseInfo.BUILDDATE.toIsoLocalDate()})",
|
||||
"Platform : ${System.getProperty("os.name")} ${System.getProperty("os.version")}" +
|
||||
" (${System.getProperty("os.arch")})",
|
||||
"Runtimes : Java ${System.getProperty("java.runtime.version")}, Kotlin " + KotlinVersion.CURRENT
|
||||
"Version: ${ReleaseInfo.VERSION} (${ReleaseInfo.BUILDDATE.toIsoLocalDate()})",
|
||||
"${System.getProperty("os.name")} ${System.getProperty("os.version")} (${System.getProperty("os.arch")})" +
|
||||
", JVM ${System.getProperty("java.runtime.version")}",
|
||||
"Kotlin ${KotlinVersion.CURRENT}, PircBotX ${PircBotX.VERSION}"
|
||||
)
|
||||
override val name = "versions"
|
||||
override val help = listOf("To view the versions data (bot, platform, java, etc.):", helpFormat("%c $name"))
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Thu Aug 25 10:27:04 PDT 2022
|
||||
version.buildmeta=345
|
||||
#Sat Sep 03 13:51:38 PDT 2022
|
||||
version.buildmeta=356
|
||||
version.major=0
|
||||
version.minor=8
|
||||
version.patch=0
|
||||
version.prerelease=rc
|
||||
version.project=mobibot
|
||||
version.semver=0.8.0-rc+345
|
||||
version.semver=0.8.0-rc+356
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue