1 Commits

Author SHA1 Message Date
198c75fa72 build(deps): bump io.mockk:mockk from 1.13.9 to 1.13.13
Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.9 to 1.13.13.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.9...1.13.13)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 16:52:42 +00:00
7 changed files with 25 additions and 12 deletions

View File

@ -36,7 +36,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push container image - name: Build and push container image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: true push: true

View File

@ -36,7 +36,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push container image - name: Build and push container image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: true push: true

View File

@ -13,5 +13,5 @@ allprojects {
} }
group = "net.lamgc" group = "net.lamgc"
version = "0.8.0-1" version = "0.7.0"
} }

View File

@ -51,6 +51,17 @@ publishing {
password = project.properties["repo.credentials.self-git.password"].toString() password = project.properties["repo.credentials.self-git.password"].toString()
} }
} }
val kukuRepoUrl = if (project.version.toString().endsWith("-SNAPSHOT", ignoreCase = true)) {
"https://nexus.kuku.me/repository/maven-snapshots/"
} else {
"https://nexus.kuku.me/repository/maven-releases/"
}
maven(kukuRepoUrl) {
credentials {
username = project.properties["repo.credentials.kuku-repo.username"].toString()
password = project.properties["repo.credentials.kuku-repo.password"].toString()
}
}
} }
publications { publications {

View File

@ -13,12 +13,6 @@ public class BotExtensionCreateOptions {
private final long botAccountId; private final long botAccountId;
private final ProxyConfig proxy; private final ProxyConfig proxy;
/**
* 构造新的 BotExtensionCreateOptions.
*
* @param botAccountId 创建扩展的 Bot 账户 Id.
* @param proxy Bot 所使用的代理配置.
*/
public BotExtensionCreateOptions(long botAccountId, ProxyConfig proxy) { public BotExtensionCreateOptions(long botAccountId, ProxyConfig proxy) {
this.botAccountId = botAccountId; this.botAccountId = botAccountId;
this.proxy = proxy; this.proxy = proxy;

View File

@ -4,9 +4,6 @@ import org.telegram.telegrambots.abilitybots.api.bot.BaseAbilityBot;
import java.util.Map; import java.util.Map;
/**
* 一些开发扩展中可以用到的工具类.
*/
public final class AbilityBots { public final class AbilityBots {
private AbilityBots() { private AbilityBots() {

View File

@ -60,6 +60,17 @@ publishing {
password = project.properties["repo.credentials.self-git.password"].toString() password = project.properties["repo.credentials.self-git.password"].toString()
} }
} }
val kukuRepoUrl = if (project.version.toString().endsWith("-SNAPSHOT", ignoreCase = true)) {
"https://nexus.kuku.me/repository/maven-snapshots/"
} else {
"https://nexus.kuku.me/repository/maven-releases/"
}
maven(kukuRepoUrl) {
credentials {
username = project.properties["repo.credentials.kuku-repo.username"].toString()
password = project.properties["repo.credentials.kuku-repo.password"].toString()
}
}
} }
publications { publications {