| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- apply plugin: 'com.android.library'
- apply plugin: 'maven-publish'
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 30
- versionCode 121000
- versionName "1.2100.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles 'consumer-rules.pro'
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- }
- afterEvaluate {
- publishing {
- publications {
- // Creates a Maven publication called "release".
- mavenPublish(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.hgsoft.app'
- artifactId = 'debuglogShow'
- version = '1.2100.1'
- }
- }
- repositories {
- maven {
- credentials {
- username 'yinxueqin'
- password 'hgits1024'
- }
- url = 'https://nexus.hgits.cn/nexus/repository/hgsoft/'
- }
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- compileOnly 'com.google.android.material:material:1.4.0'
- compileOnly 'androidx.appcompat:appcompat:1.3.1'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- }
|