start update dependencies

This commit is contained in:
2026-01-24 19:41:35 +06:00
parent 3558a5135b
commit d972cebf47
8 changed files with 30 additions and 15 deletions

View File

@@ -44,6 +44,11 @@ allprojects {
maven { url "https://nexus.inmo.dev/repository/maven-releases/" }
mavenLocal()
}
it.tasks.withType(AbstractTestTask).configureEach {
it.failOnNoDiscoveredTests = false
}
}
apply from: "./extensions.gradle"

View File

@@ -26,7 +26,7 @@ kotlin {
project.parent.subprojects.forEach {
if (
it != project
it.name != project.name
&& it.hasProperty("kotlin")
&& it.kotlin.sourceSets.any { it.name.contains("commonMain") }
&& it.kotlin.sourceSets.any { it.name.contains("jsMain") }
@@ -44,7 +44,7 @@ kotlin {
project.parent.subprojects.forEach {
if (
it != project
it.name != project.name
&& it.hasProperty("kotlin")
&& it.kotlin.sourceSets.any { it.name.contains("commonMain") }
&& it.kotlin.sourceSets.any { it.name.contains("jsMain") }
@@ -60,7 +60,7 @@ kotlin {
project.parent.subprojects.forEach {
if (
it != project
it.name != project.name
&& it.hasProperty("kotlin")
&& it.kotlin.sourceSets.any { it.name.contains("commonMain") }
&& it.kotlin.sourceSets.any { it.name.contains("jvmMain") }
@@ -76,7 +76,7 @@ kotlin {
project.parent.subprojects.forEach {
if (
it != project
it.name != project.name
&& it.hasProperty("kotlin")
&& it.kotlin.sourceSets.any { it.name.contains("commonMain") }
&& it.kotlin.sourceSets.any { it.name.contains("androidMain") }

View File

@@ -1,9 +1,15 @@
interface InjectedExecOps {
@Inject //@javax.inject.Inject
ExecOperations getExecOps()
}
private String getCurrentVersionChangelog() {
OutputStream changelogDataOS = new ByteArrayOutputStream()
exec {
def injected = project.objects.newInstance(InjectedExecOps)
injected.execOps.exec {
commandLine 'chmod', "+x", './changelog_parser.sh'
}
exec {
injected.execOps.exec {
standardOutput = changelogDataOS
commandLine './changelog_parser.sh', "${project.version}", 'CHANGELOG.md'
}

View File

@@ -1,7 +1,7 @@
[versions]
kt = "2.2.21"
kt-serialization = "1.9.0"
kt = "2.3.0"
kt-serialization = "1.10.0"
kt-coroutines = "1.10.2"
kotlinx-browser = "0.5.0"
@@ -11,7 +11,7 @@ kslog = "1.5.2"
jb-compose = "1.10.0"
jb-compose-material3 = "1.10.0-alpha05"
jb-compose-icons = "1.7.8"
jb-exposed = "0.61.0"
jb-exposed = "1.0.0"
jb-dokka = "2.1.0"
# 3.51.0.0 contains bug, checking with ./gradlew :micro_utils.repos.exposed:jvmTest
@@ -20,7 +20,7 @@ sqlite = "3.50.1.0"
korlibs = "5.4.0"
uuid = "0.8.4"
ktor = "3.3.3"
ktor = "3.4.0"
gh-release = "2.5.2"
@@ -32,7 +32,7 @@ ksp = "2.3.4"
kotlin-poet = "2.2.0"
versions = "0.53.0"
nmcp = "1.2.0"
nmcp = "1.2.1"
android-gradle = "8.12.+"
dexcount = "4.0.0"

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -23,7 +23,9 @@ dependencies {
implementation libs.ktor.client.java
}
mainClassName="MainKt"
application {
mainClass = "MainKt"
}
java {
sourceCompatibility = JavaVersion.VERSION_17

View File

@@ -14,7 +14,7 @@ kotlin {
}
jvmMain {
dependencies {
api libs.jb.exposed
api libs.jb.exposed.jdbc
}
}
}

View File

@@ -1,6 +1,8 @@
package dev.inmo.micro_utils.pagination
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.v1.core.Expression
import org.jetbrains.exposed.v1.core.SortOrder
import org.jetbrains.exposed.v1.jdbc.Query
fun Query.paginate(with: Pagination, orderBy: Pair<Expression<*>, SortOrder>? = null) =
limit(with.size)