Installation
The Pine engine is distributed using GitHub Packages.
Option 1: Use boilerplate project setup
- Fork the Pine-boilerplate repository.
- Read the setup guide in the README file
- Customize the project to suit your needs
Option 2: Install using Gradle
-
In your
build.gradle
file, add the following lines:build.gradle repositories {mavenCentral()maven {url "https://repo.gradle.org/gradle/libs-releases"}maven {url = uri("https://maven.pkg.github.com/prozilla/pine")credentials {username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")password = project.findProperty("gpr.token") ?: System.getenv("TOKEN")}}}dependencies {implementation "dev.prozilla:pine:1.0.0"} -
Create a file with your environment variables. Replace
YOUR_USERNAME
andYOUR_TOKEN
with your GitHub username and token respectively.gradle.properties gpr.user=YOUR_USERNAMEgpr.token=YOUR_TOKEN.env USERNAME=YOUR_USERNAMETOKEN=YOUR_TOKENMake sure to add this file to
.gitignore
so it remains private.