86 lines
3.2 KiB
Groovy
86 lines
3.2 KiB
Groovy
/*
|
|
* Copyright 2019 bernd32
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
android {
|
|
// Kuromoji
|
|
packagingOptions {
|
|
exclude 'META-INF/CONTRIBUTORS.md'
|
|
exclude 'META-INF/LICENSE.md'
|
|
exclude 'META-INF/MANIFEST.MF'
|
|
exclude 'META-INF/NOTICE.md'
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
defaultConfig {
|
|
applicationId "com.bernd32.jlyrics"
|
|
minSdkVersion 23
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
//Jsoup
|
|
implementation 'org.jsoup:jsoup:1.12.1'
|
|
// RecyclerView
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
// Glide
|
|
implementation 'com.github.bumptech.glide:glide:4.10.0'
|
|
annotationProcessor 'com.github.bumptech.glide:glide:4.10.0'
|
|
// Material
|
|
implementation 'com.google.android.material:material:1.2.0-alpha02'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
|
|
|
implementation 'androidx.paging:paging-runtime:2.1.0'
|
|
// Room components
|
|
implementation "androidx.room:room-runtime:$rootProject.roomVersion"
|
|
annotationProcessor "androidx.room:room-compiler:$rootProject.roomVersion"
|
|
androidTestImplementation "androidx.room:room-testing:$rootProject.roomVersion"
|
|
// Lifecycle components
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archLifecycleVersion"
|
|
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$rootProject.archLifecycleVersion"
|
|
// Junit
|
|
implementation 'androidx.test.ext:junit:1.1.2-alpha02'
|
|
// debugImplementation because LeakCanary should only run in debug builds.
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0'
|
|
// Romaji-henkan
|
|
implementation 'io.github.bernd32:romaji-henkan:0.0.1'
|
|
}
|