GitHub API for Java

org.kohsuke : github-api

GitHub API for Java

[Website] ·
71 usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.kohsuke</groupId>
    <artifactId>github-api</artifactId>
    <version>1.301</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.kohsuke:github-api library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.kohsuke</groupId>
  <artifactId>github-api</artifactId>
  <version>1.301</version>
</dependency>
</dependencies>

To install org.kohsuke:github-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.kohsuke:github-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.kohsuke:github-api:1.301'
}

Gradle Kotlin DSL: Add the org.kohsuke:github-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.kohsuke:github-api:1.301")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.kohsuke:github-api library to your build.sbt file:

libraryDependencies += "org.kohsuke" % "github-api" % "1.301"

4. Add dependency to a Grape project

Grape: Add an annotation org.kohsuke:github-api library to your groovy script file:

@Grapes(
    @Grab('org.kohsuke:github-api:1.301')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (1)

Group / Artifact Usage
com.github.spotbugs » spotbugs-annotations 660

Test Dependencies (16)