Skip to content

thebytearray/libxray-android

Repository files navigation

libxray-android

Android library embedding the Xray core (via libxray and native libxray-go).

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file.

Add with JitPack

  1. Add the JitPack repository:

Kotlin DSL (settings.gradle.kts)

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

Groovy (settings.gradle)

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}
  1. Add the dependency. JitPack publishes the libxray module as artifact libxray-android (no extra module segment in the coordinate):

Kotlin DSL

dependencies {
    implementation("com.github.thebytearray:libxray-android:VERSION")
}

Groovy

dependencies {
    implementation 'com.github.thebytearray:libxray-android:VERSION'
}

Replace VERSION with a Git tag, branch name, or commit hash (for example 1.0.1 or abc1234).

Usage

Public API entry points:

  • org.thebytearray.libxray.sdk.LibXray
  • org.thebytearray.libxray.sdk.ProtectHandler

minSdk is 23. The AAR ships native libraries for armeabi-v7a, arm64-v8a, and x86_64.

Build locally

./gradlew :libxray:assembleRelease

Publish to Maven Local (same as JitPack’s Gradle step):

./gradlew :libxray:publishReleasePublicationToMavenLocal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors