mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-01-01 03:20:44 -06:00
55 lines
1.6 KiB
Groovy
55 lines
1.6 KiB
Groovy
apply from: gradle.ext.sharedModulesConstants
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'maven-publish'
|
|
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|