mirror of
https://github.com/ChronosX88/Influence-P2P.git
synced 2024-11-21 15:02:17 +00:00
64 lines
2.3 KiB
Groovy
64 lines
2.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "io.github.chronosx88.influence"
|
|
minSdkVersion 19
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "0.1alpha4"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
multiDexEnabled true
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
packagingOptions {
|
|
exclude 'META-INF/INDEX.LIST'
|
|
exclude 'META-INF/io.netty.versions.properties'
|
|
exclude 'LICENSE-EPL-1.0.txt'
|
|
exclude 'LICENSE-EDL-1.0.txt'
|
|
exclude 'META-INF/atomicfu.kotlin_module'
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.1.0-alpha02'
|
|
implementation "androidx.room:room-runtime:2.1.0-alpha04"
|
|
annotationProcessor "androidx.room:room-compiler:2.1.0-alpha04"
|
|
implementation 'org.slf4j:slf4j-log4j12:1.7.26'
|
|
implementation('net.tomp2p:tomp2p-all:5.0-Beta8') {
|
|
exclude group: 'net.tomp2p', module: 'tomp2p-storage'
|
|
}
|
|
implementation 'com.google.android.material:material:1.1.0-alpha04'
|
|
implementation 'androidx.preference:preference:1.1.0-alpha03'
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
implementation 'de.hdodenhof:circleimageview:3.0.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation 'com.android.support:multidex:1.0.3'
|
|
implementation "org.jetbrains.anko:anko:0.10.8"
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0'
|
|
implementation 'com.esotericsoftware:kryo:5.0.0-RC1'
|
|
|
|
implementation 'com.github.instacart.truetime-android:library:3.4'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
} |