Skip to content

Installation

_Coho04_ edited this page Jun 19, 2024 · 2 revisions

To include the GithubAPI library in your project, follow the instructions for your specific build tool:

Maven

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.coho04</groupId>
    <artifactId>githubapi</artifactId>
    <version>${version}</version>
</dependency>

Gradle (Groovy DSL)

Add the following to your build.gradle:

implementation group: 'io.github.coho04', name: 'githubapi', version: '${version}'

Or alternatively:

implementation 'io.github.coho04:githubapi:${version}'

Gradle (Kotlin DSL)

Add the following to your build.gradle.kts:

implementation("io.github.coho04:githubapi:${version}")

SBT

Add the following to your build.sbt:

libraryDependencies += "io.github.coho04" % "githubapi" % "${version}"

Ivy

Add the following dependency to your ivy.xml:

<dependency org="io.github.coho04" name="githubapi" rev="${version}"/>

Grape

Add the following annotation to your Groovy script:

@Grapes(
    @Grab(group='io.github.coho04', module='githubapi', version='${version}')
)

Leiningen

Add the following to your project.clj:

[io.github.coho04/githubapi "${version}"]

Apache Buildr

Add the following to your buildfile:

'io.github.coho04:githubapi:jar:${version}'

These snippets will ensure the GithubAPI library is correctly included in your project, allowing you to leverage its functionalities.

Clone this wiki locally