123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.github.dcendents.android-maven'
- apply plugin: 'org.jetbrains.dokka'
- ext {
- bintrayRepo = 'maven'
- bintrayName = 'ussd-library'
- publishedGroupId = 'com.romellfudi.ussdlibrary'
- libraryName = 'VoIpUSSD'
- artifact = 'ussd-library'
- libraryDescription = 'Android library To comunicate with ussd display'
- siteUrl = 'https://romellfudi.github.io/VoIpUSSDSample'
- gitUrl = 'https://romellfudi.github.io/VoIpUSSDSample.git'
- libraryVersion = '1.4.a'
- developerId = 'romellfudi'
- developerName = 'Romell Dominguez'
- developerEmail = 'romllz489@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 31
- buildToolsVersion "30.0.2"
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 31
- versionCode 1
- versionName libraryVersion
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- testOptions{
- unitTests.returnDefaultValues = true
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- tasks.dokkaHtml.configure {
- outputDirectory.set(file("../documentation"))
- }
- tasks.dokkaJavadoc.configure
- outputDirectory.set(file("../documentation/javadoc"))
- }
- tasks.dokkaGfm.configure
- outputDirectory.set(file("../documentation/gfm"))
- }
- tasks.withType(dokkaHtml.getClass()).configureEach
- pluginsMapConfiguration.set(
- ["org.jetbrains.dokka.base.DokkaBase": """{ "separateInheritedMembers": true}"""]
- )
- }
- dependencies
- implementation
- testImplementation
- testImplementation
- testImplementation
- testImplementation
- implementation
- implementation
- api
- api
- }
|