Как установить библиотеку салата на Android Studio? - PullRequest
0 голосов
/ 04 февраля 2019

Как установить библиотеку салата на Android-студии в файлах Gradle?

https://lettuce.io

Есть ли какое-нибудь решение для компиляции библиотеки?

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0’

}

1 Ответ

0 голосов
/ 04 февраля 2019

В разделе Начало работы салата есть раздел под названием Для пользователей Gradle о том, как добавить библиотеку из Gradle.Я думаю, что просто добавив:

implementation 'io.lettuce:lettuce-core:5.1.3.RELEASE'

будет работать.Вы должны проверить, должны ли вы скорректировать свои текущие зависимости и / или изменить ваши proguard правила.

Надеюсь, я помог.

...