Files
SmartTube/chatkit/build.gradle
2022-10-31 00:30:45 +02:00

55 lines
1.7 KiB
Groovy

apply from: gradle.ext.sharedModulesConstants
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
android {
compileSdkVersion project.properties.compileSdkVersion
buildToolsVersion project.properties.buildToolsVersion
defaultConfig {
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
versionCode 1
versionName '0.4.1'
consumerProguardFiles 'proguard.txt'
}
android {
lintOptions {
abortOnError false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
//from components.release
// You can then customize attributes of the publication as shown below.
groupId = 'com.github.stfalcon'
artifactId = 'chatkit'
version = '0.4.1'
}
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':sharedutils')
implementation 'androidx.appcompat:appcompat:' + appCompatXLibraryVersion
implementation 'com.google.android.material:material:' + materialVersion
implementation "com.google.android.flexbox:flexbox:" + flexboxVersion
implementation 'androidx.recyclerview:recyclerview:' + recyclerviewXLibraryVersion
}