Skip to content

Commit

Permalink
update code style settings due to deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin67 committed Feb 29, 2024
1 parent aa287c1 commit 18cc223
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tab_width = 2
[*.{kt,kts,java}]
indent_size = 4
tab_width = 4
ktlint_code_style = intellij_idea
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_argument-list-wrapping = disabled
ktlint_standard_max-line-length = disabled
Expand Down
26 changes: 23 additions & 3 deletions inngest-spring-boot-adapter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
group = "com.inngest"
description = "Spring Boot adapter for Inngest SDK"
version = "0.0.1"

plugins {
`java-library`
id("maven-publish")
id("io.spring.dependency-management") version "1.1.4"
}

group = "com.inngest"
version = "0.0.2-SNAPSHOT2"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
Expand All @@ -29,6 +31,24 @@ dependencyManagement {
}
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/inngest/inngest-kt")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
publications {
register<MavenPublication>("gpr") {
from(components["java"])
}
}
}

tasks.withType<Test> {
useJUnitPlatform()
}

0 comments on commit 18cc223

Please sign in to comment.