Skip to content

Commit

Permalink
Merge pull request #25 from kaginawa/24-rename-package
Browse files Browse the repository at this point in the history
Change group id from com.github.kaginawa to io.github.kaginawa
  • Loading branch information
mikan authored Apr 21, 2021
2 parents cfd40fa + 3d4b499 commit fddc944
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 28 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kagianwa-sdk-go
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kaginawa_kaginawa-sdk-java&metric=alert_status)](https://sonarcloud.io/dashboard?id=kaginawa_kaginawa-sdk-java)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=kaginawa_kaginawa-sdk-java&metric=coverage)](https://sonarcloud.io/dashboard?id=kaginawa_kaginawa-sdk-java)
[![Download](https://api.bintray.com/packages/kaginawa/kaginawa-sdk-java/kaginawa-sdk-java/images/download.svg)](https://bintray.com/kaginawa/kaginawa-sdk-java/kaginawa-sdk-java/_latestVersion)
[![javadoc](https://javadoc.io/badge2/com.github.kaginawa/kaginawa-sdk-java/javadoc.svg)](https://javadoc.io/doc/com.github.kaginawa/kaginawa-sdk-java)
[![javadoc](https://javadoc.io/badge2/io.github.kaginawa/kaginawa-sdk-java/javadoc.svg)](https://javadoc.io/doc/io.github.kaginawa/kaginawa-sdk-java)

The official [Kaginawa](https://github.com/kaginawa/kaginawa) SDK for the Java and other JVM languages.

Expand All @@ -31,9 +31,9 @@ Add a dependency to the `dependencies` element:

```xml
<dependency>
<groupId>com.github.kaginawa</groupId>
<groupId>io.github.kaginawa</groupId>
<artifactId>kaginawa-sdk-java</artifactId>
<version>0.1.1</version>
<version>0.2.0</version>
</dependency>
```

Expand All @@ -50,12 +50,12 @@ repositories {
Add a dependency:

```kotlin
implementation("com.github.kaginawa:kaginawa-sdk-java:0.1.1")
implementation("io.github.kaginawa:kaginawa-sdk-java:0.2.0")
```

## Documentation

Online javadoc is available on [javadoc.io](https://javadoc.io/doc/com.github.kaginawa/kaginawa-sdk-java).
Online javadoc is available on [javadoc.io](https://javadoc.io/doc/io.github.kaginawa/kaginawa-sdk-java).

## Examples

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {

val junitVersion = "5.6.2"

group = "com.github.kaginawa"
version = "0.1.1"
group = "io.github.kaginawa"
version = "0.2.0"

repositories {
mavenCentral()
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/com/github/kaginawa/sdk/package-info.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.examples.command;
package io.github.kaginawa.examples.command;

import com.github.kaginawa.sdk.KaginawaClient;
import com.github.kaginawa.sdk.KaginawaServerException;
import io.github.kaginawa.sdk.KaginawaClient;
import io.github.kaginawa.sdk.KaginawaServerException;

import java.util.Scanner;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.examples.hello;
package io.github.kaginawa.examples.hello;

import com.github.kaginawa.sdk.KaginawaClient;
import com.github.kaginawa.sdk.KaginawaServerException;
import com.github.kaginawa.sdk.Report;
import io.github.kaginawa.sdk.KaginawaClient;
import io.github.kaginawa.sdk.KaginawaServerException;
import io.github.kaginawa.sdk.Report;

import java.time.format.DateTimeFormatter;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import javax.json.bind.Jsonb;
import javax.json.bind.JsonbBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

/**
* An {@link Exception} subclass that occurs when error communicating with Kaginawa Server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import javax.json.bind.annotation.JsonbProperty;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import java.util.Objects;

Expand Down
20 changes: 20 additions & 0 deletions src/main/java/io/github/kaginawa/sdk/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* Kaginawa SDK for Java.
*/
package io.github.kaginawa.sdk;
6 changes: 3 additions & 3 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module com.github.kaginawa.sdk {
exports com.github.kaginawa.sdk;
module io.github.kaginawa.sdk {
exports io.github.kaginawa.sdk;
requires java.net.http;
requires java.json.bind;
opens com.github.kaginawa.sdk to org.eclipse.yasson;
opens io.github.kaginawa.sdk to org.eclipse.yasson;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.kaginawa.sdk;
package io.github.kaginawa.sdk;

import org.junit.jupiter.api.Test;

Expand Down

0 comments on commit fddc944

Please sign in to comment.