Beagle v1.7 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
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 configurations to download Beagle’s library.
For version prior to 1.1.0 add to build.gradle maven{url}:
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://dl.bintray.com/zupit/repo'
}
}
}
For version greater than or equal to 1.1.0 add to build.gradle mavenCentral ():
allprojects {
repositories {
google()
jcenter()
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, there are two options below to add the plugin.
The current release version of Beagle is:
apply plugin: '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"
}
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 = "0.2.8"
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.