Skip to content

Instantly share code, notes, and snippets.

@criminact
Last active April 27, 2024 12:09
Show Gist options
  • Select an option

  • Save criminact/590b1870bd5019eb5092e8ebf1f69a30 to your computer and use it in GitHub Desktop.

Select an option

Save criminact/590b1870bd5019eb5092e8ebf1f69a30 to your computer and use it in GitHub Desktop.
OTP View build.gradle (app)
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
}
android {
compileSdk 34
defaultConfig {
applicationId "com.shuffl.android"
minSdk 24
targetSdk 34
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = '17'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlin {
jvmToolchain(17)
}
}
dependencies {
//otp view
implementation 'com.github.criminact:OTPView:1.0.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment