Skip to content

Commit

Permalink
dependency update (#52)
Browse files Browse the repository at this point in the history
* quick fix to make sure release uses proper version while dev uses local version
* remove github repo

---------
Co-authored-by: Darwin D Wu <[email protected]>
  • Loading branch information
darwin67 authored Mar 1, 2024
1 parent deeb3c6 commit 316e6da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [main]

env:
RELEASE: true

jobs:
changes:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions inngest-spring-boot-adapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ repositories {
}

dependencies {
api("com.inngest:inngest:[0.0, 0.1)")
val pkg = if (System.getenv("RELEASE") != null) "com.inngest:inngest:[0.0, 0.1)" else project(":inngest")
api(pkg)

implementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("org.springframework.boot:spring-boot-starter-test")
Expand Down Expand Up @@ -72,7 +73,7 @@ publishing {

pom {
name.set(project.name)
description.set("Inngest SDK for Kotlin/Java")
description.set(project.description)
url.set("https://github.com/inngest/inngest-kt")
inceptionYear.set("2024")

Expand Down
11 changes: 1 addition & 10 deletions inngest-spring-boot-demo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,10 @@ java {

repositories {
mavenCentral()

maven {
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")
}
}
}

dependencies {
implementation("com.inngest:inngest:0.0.2")
implementation("com.inngest:inngest-spring-boot-adapter:0.0.+")
implementation(project(":inngest-spring-boot-adapter"))

implementation("org.springframework.boot:spring-boot-starter-web")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
Expand Down

0 comments on commit 316e6da

Please sign in to comment.