Before you start to configure Beagle for your Android system, it’s important to check out if you have already installed all the current versions of the following programs:
You have to adjust your repository’s dependencies to receive Beagle. To do so, use the following configuration to download Beagle’s library.
allprojects {
repositories {
google()
mavenCentral()
}
}
allprojects{}
Once you made the first configuration, now you have to include the kapt
and Beagle’s plugin as dependencies on your dependency manager, as in the example below.
The current release version of Beagle is:
plugins {
id 'kotlin-kapt'
}
android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
}
ext.beagle_version = "${beagle_version}"
dependencies {
implementation "br.com.zup.beagle:android:$beagle_version"
kapt "br.com.zup.beagle:android-processor:$beagle_version"
}
Insert the Beagle’s release version on the place of${beagle.version}
, in other words, put the Beagle’s version highlighted in blue badge above without the v character.
For example: undefined-ext.beagle.version = "1.8.0"
On this section, you made Beagle’s initial installation on your application!
Now, to keep configuring Beagle:
👉Go to initial configurations to enable the use of Beagle on your Android project.
👉 If you want to go straight to practice, access our tutorial to create a project from scratch.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.