Skip to content

1.0. Implementing OpC in your plugin!

ThisKarolGajda edited this page Nov 30, 2022 · 1 revision

In order to use OpC in your plugin you need to first add it to your project, you can get this done using lots of methods, but by far the most popular are Maven and Gradle, which you can see how to implement in the example below.

Version

Jitppack version:

Maven

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

<dependency>
    <groupId>com.github.ThisKarolGajda</groupId>
    <artifactId>OpC</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

Gradle

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

dependencies {
        implementation 'com.github.ThisKarolGajda:OpC:master-SNAPSHOT'
}

Jitpack

You can see other options, versions and build logs of OpC under this link.

Clone this wiki locally