Closed Nanech closed 10 months ago
For gradle kts its looks like that:
implementation("com.github.mukeshsolanki.android-otpview-pinview:otpview:3.1.0")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
In the XML file where these lines are located:
app:OtpHideLineWhenFilled="true"
app:OtpItemCount="6"
app:OtpItemSpacing="6dp"
app:OtpLineColor="@color/otp_item_state"
app:OtpState_filled="true"
app:OtpViewType="line"
Use Alt+Enter for "create namespace declaration"
Issue topic
How to run this using gradle.kts
Steps to play
Create a project with grade.kts