The GitHub API is way too big and complex to maintain this wrapper. A generated aproach would be way better than what this is atm.
This is a Kotlin wrapper for the GitHub REST API v3.
Snapshots are available on Sonatype Snapshots.
Gradle Kotlin
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
// Use the modules you need
implementation(platform("dev.nycode.github:bom:1.0.0-SNAPSHOT"))
implementation("dev.nycode.github:core")
implementation("dev.nycode.github:repositories")
implementation("dev.nycode.github:branches")
}
Gradle Groovy
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
// Use the modules you need
implementation platform('dev.nycode.github:bom:1.0.0-SNAPSHOT')
implementation 'dev.nycode.github:core'
implementation 'dev.nycode.github:repositories'
implementation 'dev.nycode.github:branches'
}
Maven
<repositories>
<repository>
<id>sonatype-01</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>dev.nycode.github</groupId>
<artifactId>bom</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Use the modules you need -->
<dependency>
<groupId>dev.nycode.github</groupId>
<artifactId>core</artifactId>
</dependency>
<dependency>
<groupId>dev.nycode.github</groupId>
<artifactId>repositories</artifactId>
</dependency>
<dependency>
<groupId>dev.nycode.github</groupId>
<artifactId>branches</artifactId>
</dependency>
</dependencies>