Skip to content

Commit

Permalink
feat: publish to Maven (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
WtfJoke committed Jul 3, 2022
1 parent 15f072b commit cbc7358
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .mergify.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ const project = new awscdk.AwsCdkConstructLibrary({
publishToGo: {
moduleName: 'github.com/WtfJoke/cdk-github-go',
},
publishToMaven: {
mavenGroupId: 'io.github.wtfjoke',
javaPackage: 'io.github.wtfjoke.cdk.github',
mavenArtifactId: 'cdk-github',
mavenEndpoint: 'https://s01.oss.sonatype.org/',
},
codeCov: true,
});
project.synth();
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,29 @@ JavaScript/TypeScript:
Python:
`pip install cdk-github`

Java
<details>
<summary>Maven:</summary>

```xml
<dependency>
<groupId>io.github.wtfjoke</groupId>
<artifactId>cdk-github</artifactId>
<version>VERSION</version>
</dependency>
```
</details>
<details>
<summary>Gradle:</summary>

`implementation 'io.github.wtfjoke:cdk-github:VERSION'`
</details>
<details>
<summary>Gradle (Kotlin):</summary>

`implementation("io.github.wtfjoke:cdk-github:VERSION")`
</details>

C#
See https://www.nuget.org/packages/CdkGithub

Expand Down
8 changes: 8 additions & 0 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbc7358

Please sign in to comment.