-
Notifications
You must be signed in to change notification settings - Fork 84
Legacy setup
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.
- 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" }
}
}
- 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'
}