50 lines
1.3 KiB
Groovy
Executable File
50 lines
1.3 KiB
Groovy
Executable File
apply plugin: 'com.android.library'
|
|
ext {
|
|
bintrayRepo = 'maven'
|
|
bintrayName = 'rating-view'
|
|
|
|
publishedGroupId = 'com.github.ornolfr'
|
|
libraryName = 'RatingView'
|
|
artifact = 'rating-view'
|
|
|
|
libraryDescription = 'Simple android widget that can replace standard inconvenient RatingBar in your app.'
|
|
|
|
siteUrl = 'https://github.com/Ornolfr/RatingView'
|
|
gitUrl = 'https://github.com/Ornolfr/RatingView.git'
|
|
|
|
libraryVersion = '0.1.2'
|
|
|
|
developerId = 'ornolfr'
|
|
developerName = 'Roman Samoylenko'
|
|
developerEmail = 'ornolfr1@gmail.com'
|
|
|
|
licenseName = 'The Apache Software License, Version 2.0'
|
|
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
|
allLicenses = ["Apache-2.0"]
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
namespace 'com.github.ornolfr.ratingview'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
}
|
|
|
|
// Publishing scripts removed; library used as local project dependency
|