68 lines
2.1 KiB
Groovy
68 lines
2.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "com.a1.nextlocation"
|
|
minSdkVersion 26
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
repositories {
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
//gson
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'com.google.android.gms:play-services-location:17.1.0'
|
|
implementation 'com.google.android.gms:play-services-maps:17.0.0'
|
|
testImplementation 'junit:junit:4.13.1'
|
|
// implementation "com.android.support:support-compat:28.0.0"
|
|
|
|
// okhttp
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
|
|
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0'
|
|
|
|
//osm
|
|
implementation 'org.osmdroid:osmdroid-android:6.1.8'
|
|
|
|
//osm bonus pack
|
|
implementation 'com.github.MKergall:osmbonuspack:6.6.0'
|
|
|
|
//BeforeEach
|
|
testImplementation(platform('org.junit:junit-bom:5.7.0'))
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
testImplementation 'org.mockito:mockito-core:2.7.22'
|
|
androidTestImplementation 'com.21buttons:fragment-test-rule:2.0.1'
|
|
androidTestImplementation 'androidx.test:rules:1.3.0-beta01'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.4.0-alpha02'
|
|
} |