Skip to content

Conversation

@devin-ai-integration
Copy link

Maven Central と Gradle 対応の追加

概要

このPRでは、moc-javaライブラリをMaven CentralリポジトリとGradleで簡単に使用できるようにするための設定を追加しました。

変更内容

  1. pom.xmlの更新

    • Maven Central公開に必要なメタデータの追加(ライセンス、開発者情報、SCM情報など)
    • Javadocとソースの添付設定
    • GPG署名の設定
    • Sonatype OSS リポジトリの設定
  2. Gradle対応の追加

    • build.gradleファイルの作成
    • settings.gradleファイルの作成
    • Maven Centralと同等のメタデータ設定
  3. 使用方法ドキュメントの追加

    • MavenとGradleでの使用方法を説明するUSAGE.mdの追加

使用方法

Maven

<dependency>
    <groupId>city.makeour</groupId>
    <artifactId>moc</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

implementation 'city.makeour:moc:1.0.0'

注意事項

  • Maven Centralへの公開には、Sonatypeアカウントの作成とGPG鍵の設定が必要です
  • 実際の公開前に、~/.m2/settings.xmlにSonatypeの認証情報を設定する必要があります

テスト状況

  • ローカルでのビルドとインストールを確認済み

Link to Devin run: https://app.devin.ai/sessions/0d243193b8054082979c9db9176928dc
Requested by: shugo@code4japan.org

Co-Authored-By: shugo@code4japan.org <ushio.s@gmail.com>
@devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant