Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mdavis/kt uma invoice #54

Merged
merged 11 commits into from
Aug 22, 2024
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ ktlint_function_signature_body_expression_wrapping = default
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset
ktlint_ignore_back_ticked_identifier = false
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_annotation = disabled
max_line_length = 120
252 changes: 252 additions & 0 deletions .idea/other.xml

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

26 changes: 14 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
import java.net.URL
import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
import org.jetbrains.dokka.gradle.DokkaTaskPartial
import java.net.URL

buildscript {
dependencies {
Expand All @@ -28,8 +28,9 @@ subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
outputToConsole.set(true)
debug.set(true)
verbose.set(true)
disabledRules.set(listOf("no-wildcard-imports"))
disabledRules.set(setOf("no-wildcard-imports"))
}

tasks.create<Exec>("bumpAndTagVersion") {
Expand Down Expand Up @@ -109,16 +110,17 @@ tasks.named<DokkaMultiModuleTask>("dokkaHtmlMultiModule") {
moduleName.set("UMA Kotlin+Java SDKs")
pluginsMapConfiguration.set(
mapOf(
"org.jetbrains.dokka.base.DokkaBase" to """
{
"customStyleSheets": [
"${rootDir.resolve("docs/css/logo-styles.css")}"
],
"customAssets" : [
"${rootDir.resolve("docs/images/uma-logo-white.svg")}"
]
}
""".trimIndent(),
"org.jetbrains.dokka.base.DokkaBase" to
"""
{
"customStyleSheets": [
"${rootDir.resolve("docs/css/logo-styles.css")}"
],
"customAssets" : [
"${rootDir.resolve("docs/images/uma-logo-white.svg")}"
]
}
""".trimIndent(),
),
)
}
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ kotlin = "1.9.0"
kotlinCoroutines = "1.6.4"
kotlinxDateTime = "0.4.0"
kotlinSerializationJson = "1.4.1"
ktlint = "11.3.1"
kotlinReflect = "2.0.0"
ktlint = "12.1.1"
ktor = "2.2.3"
mavenPublish = "0.25.2"
mockitoCore = "5.5.0"
taskTree = "2.1.1"
junit = "4.13.2"
bitcoinj-core = "0.16.3"

[libraries]
gradleClasspath-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
Expand Down
1 change: 1 addition & 0 deletions uma-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ kotlin {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.ktor.client.core)
implementation(libs.jna)
implementation(kotlin("reflect"))
}
}
val commonTest by getting {
Expand Down
Loading
Loading