Skip to content
Evgenii Neumerzhitckii edited this page Dec 3, 2022 · 2 revisions

This is how to add js-evaluator into your Android Studio project if you are using Gradle build tools older than version 7.

  1. Add maven { url "https://jitpack.io" } into allprojects/repositories section of your project build.gradle file. For example:
allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
    }
}
  1. Add compile 'com.github.evgenyneu:js-evaluator-for-android:v5.0.0' into dependencies section of your module build.gradle file. For example:
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    // Keep you existing dependencies here
    implementation 'com.github.evgenyneu:js-evaluator-for-android:v5.0.0'
}
Clone this wiki locally