100 lines
3.3 KiB
Groovy
100 lines
3.3 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.6.0'
|
|
ext.room_version = '2.4.0-alpha03'
|
|
ext.work_version = '2.5.0'
|
|
ext.lottie_version = '5.2.0'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
maven {
|
|
url "https://maven.juspay.in/jp-build-packages/hypersdk-asset-download/releases/"
|
|
}
|
|
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
|
|
classpath 'com.google.gms:google-services:4.3.10'
|
|
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.4.2'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module adle files
|
|
|
|
// Add the Crashlytics Gradle plugin.
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
|
|
classpath 'com.google.firebase:perf-plugin:1.4.1'
|
|
|
|
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.38.1'
|
|
classpath 'in.juspay:hypersdk-asset-plugin:1.0.3'
|
|
classpath "com.newrelic.agent.android:agent-gradle-plugin:6.5.0"
|
|
classpath 'org.codehaus.groovy:groovy-json:3.0.7'
|
|
}
|
|
apply from: 'dependencies.gradle'
|
|
}
|
|
|
|
plugins {
|
|
id('com.diffplug.spotless') version('6.11.0')
|
|
}
|
|
|
|
apply from: "$project.rootDir/spotless.gradle"
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://sdk.uxcam.com/android/'
|
|
}
|
|
maven {
|
|
credentials {
|
|
username 'nexus-user'
|
|
password 'nexus-user'
|
|
}
|
|
url "https://nexus.cmd.navi-tech.in/repository/maven-snapshots"
|
|
}
|
|
maven {
|
|
credentials {
|
|
username 'nexus-user'
|
|
password 'nexus-user'
|
|
}
|
|
url "https://nexus.cmd.navi-tech.in/repository/maven-releases"
|
|
}
|
|
maven {
|
|
url "s3://hvsdk/android/releases"
|
|
credentials(AwsCredentials) {
|
|
accessKey "AKIAXB3KY4F5AQJD6WHT"
|
|
secretKey "P712oWvsVZzVqHd4n27Wh46+4StF8gctCZi/wLBc"
|
|
}
|
|
}
|
|
maven {
|
|
url 'http://maven.singular.net/'
|
|
allowInsecureProtocol = true
|
|
}
|
|
maven {
|
|
url "s3://okyc-navi-sdk.s3.amazonaws.com"
|
|
credentials(AwsCredentials) {
|
|
accessKey "AKIA325LPZPYF2PRBOVE"
|
|
secretKey "U39PUBib1LoKtyamr58pTvUn2suRb6/if3yp0BLo"
|
|
}
|
|
}
|
|
maven { url "https://jitpack.io" }
|
|
maven {
|
|
url "https://phonepe.mycloudrepo.io/public/repositories/phonepe-intentsdk-android"
|
|
}
|
|
maven {
|
|
url "https://maven.juspay.in/jp-build-packages/hyper-sdk/"
|
|
}
|
|
}
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
// required by room and we cannot update room version as
|
|
// it may want us to change minSdkVersion
|
|
// https://issuetracker.google.com/issues/174695268?pli=1#comment10
|
|
force 'org.xerial:sqlite-jdbc:3.34.0'
|
|
}
|
|
}
|
|
}
|