Skip to content

Commit

Permalink
Merge pull request #41 from trocco-io/trocco-kintone-java-client
Browse files Browse the repository at this point in the history
use trocco-io/kintone-java-client
  • Loading branch information
d-hrs authored Dec 13, 2023
2 parents eb18de8 + bc0fa9c commit bdb90a6
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- opened
- synchronize

env:
TOKEN: "${{ secrets.GPR_TOKEN }}"
USERNAME: "${{ secrets.GPR_USERNAME }}"
jobs:
checks:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ jobs:
language: java
gem-path: "./build/gems/*.gem"
github-token: "${{ secrets.GITHUB_TOKEN }}"
env:
TOKEN: "${{ secrets.GPR_TOKEN }}"
USERNAME: "${{ secrets.GPR_USERNAME }}"
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ repositories {
mavenCentral()
}

group = "io.trocco"
version = "0.1.10"
version = {
def vd = versionDetails()
if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]$/) {
vd.lastTag
} else {
"0.0.0.${vd.gitHash}"
}
}()

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down
9 changes: 8 additions & 1 deletion shadow-kintone-java-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ plugins {

repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/trocco-io/kintone-java-client")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}

group = "${rootProject.group}"
Expand All @@ -25,7 +32,7 @@ configurations {
}

dependencies {
compile "com.kintone:kintone-java-client:1.4.0"
compile "com.kintone:kintone-java-client:1.4.1-trocco-0.0.1"
}

shadowJar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.fasterxml.jackson.core:jackson-annotations:2.13.2
com.fasterxml.jackson.core:jackson-core:2.13.2
com.fasterxml.jackson.core:jackson-databind:2.13.2.2
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.2
com.fasterxml.jackson:jackson-bom:2.13.2
com.kintone:kintone-java-client:1.4.0
com.fasterxml.jackson.core:jackson-annotations:2.13.4
com.fasterxml.jackson.core:jackson-core:2.13.4
com.fasterxml.jackson.core:jackson-databind:2.13.4.2
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4
com.fasterxml.jackson:jackson-bom:2.13.4
com.kintone:kintone-java-client:1.4.1-trocco-0.0.1
commons-codec:commons-codec:1.15
org.apache.httpcomponents.client5:httpclient5:5.1.3
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3
Expand Down

0 comments on commit bdb90a6

Please sign in to comment.