Skip to content

Commit

Permalink
1.5.11-SNAPSHOT: Update deps, fix CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Oct 27, 2023
1 parent 93bad0a commit b646dba
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ indent_style = tab
trim_trailing_whitespace = true
max_line_length = 120

[*.yml]
[{*.yml,*.yaml}]
indent_style = space
indent_size = 2
55 changes: 55 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: "CodeQL"

on:
push:
branches:
- root

pull_request:
branches:
- root

schedule:
- cron: '19 21 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360

permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false

matrix:
language: [ java-kotlin ]

steps:
- uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v3

with:
java-version: 17
distribution: temurin

- name: Initialize CodeQL
uses: github/codeql-action/init@v2

with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/modules/test-bot/kord-extensions.test-bot.main.iml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/modules/test-bot/kord-extensions.test-bot.test.iml

This file was deleted.

10 changes: 5 additions & 5 deletions buildSrc/src/main/kotlin/dokka-module.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.net.URL
import java.net.URI

plugins {
id("org.jetbrains.dokka")
Expand Down Expand Up @@ -38,21 +38,21 @@ tasks {
localDirectory.set(file("${project.projectDir}/src/main/kotlin"))

remoteUrl.set(
URL(
URI(
"https://github.com/Kotlin-Discord/kord-extensions/" +
"tree/${getCurrentGitBranch()}/${projectDir}/src/main/kotlin"
)
).toURL()
)

remoteLineSuffix.set("#L")
}

externalDocumentationLink {
url.set(URL("http://kordlib.github.io/kord/common/common/"))
url.set(URI("http://kordlib.github.io/kord/common/common/").toURL())
}

externalDocumentationLink {
url.set(URL("http://kordlib.github.io/kord/core/core/"))
url.set(URI("http://kordlib.github.io/kord/core/core/").toURL())
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kotlin.incremental = true
ksp.incremental = false

# Must be updated for Writerside in v.list
projectVersion = 1.5.10-SNAPSHOT
projectVersion = 1.5.11-SNAPSHOT

#dokka will run out of memory with the default meta space
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1024m
14 changes: 7 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ kotlin = "1.9.10" # Note: Plugin versions must be updated in buildSrc/build.gra
commons-validator = "1.7"
groovy = "3.0.19"
icu4j = "73.2"
jansi = "2.4.0"
jsoup = "1.16.1"
jansi = "2.4.1"
jsoup = "1.16.2"
junit = "5.10.0"
koin = "3.5.0"
konf = "1.1.2"
#kord = "0.9.x-SNAPSHOT"
kord = "0.11.1"
kord = "0.12.0-SNAPSHOT"
#kord = "0.11.1"
ksp = "1.9.10-1.0.13"
ktor = "2.3.4"
ktor = "2.3.5"
kx-coro = "1.7.3"
kx-ser = "1.6.0"
linkie = "1.0.114"
logback = "1.4.11"
logback-groovy = "1.14.5"
logging = "5.1.0"
mongodb = "4.10.2"
mongodb = "4.11.0"
pf4j = "3.10.0"
semver = "1.4.2"
sentry = "6.30.0"
sentry = "6.32.0"
slf4j = "2.0.9"
time4j-base = "5.9.3"
time4j-tzdata = "5.0-2023b"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public fun Permission.toTranslationKey(): String? = when (this) {
Permission.EmbedLinks -> "permission.embedLinks"
Permission.KickMembers -> "permission.kickMembers"
Permission.ManageChannels -> "permission.manageChannels"
Permission.ManageGuildExpressions, Permission.ManageEmojisAndStickers -> "permission.manageExpressions"
Permission.ManageGuildExpressions -> "permission.manageExpressions"
Permission.ManageEvents -> "permission.manageEvents"
Permission.ManageGuild -> "permission.manageGuild"
Permission.ManageMessages -> "permission.manageMessages"
Expand Down

0 comments on commit b646dba

Please sign in to comment.