Skip to content

Installation

Eliminater74 edited this page Jul 20, 2024 · 2 revisions

Installation

Building with Bazel

To build adblib using Bazel, you can use the following command:

bazel build //:adblib

Building with Gradle

To use adblib with Gradle, add the following to your build.gradle.kts:

dependencies {
    implementation("com.android.adblib:adblib:<latest-version>")
}

Then build your project with:

./gradlew build

Using JitPack

To use adblib in your project via JitPack, add the following to your build.gradle.kts or build.gradle file:

Add the JitPack repository:

In build.gradle.kts:

repositories {
    mavenCentral()
    maven { url = uri("https://jitpack.io") }
}

In build.gradle:

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

Add the dependency:

In build.gradle.kts:

dependencies {
    implementation("com.github.DevOculus-Meta-Quest:AdbLib-Google-PlatformTools:v1.0.0")
}

In build.gradle:

dependencies {
    implementation 'com.github.DevOculus-Meta-Quest:AdbLib-Google-PlatformTools:v1.0.0'
}

Replace v1.0.0 with the latest version tag of the library.

Clone this wiki locally