11apply plugin : ' com.android.library'
22apply plugin : ' kotlin-android'
3- // apply plugin: 'com.github.panpf.bintray-publish'
43apply plugin : ' maven-publish'
54
65android {
76 compileSdkVersion 31
8-
97 defaultConfig {
108 minSdkVersion 16
119 targetSdkVersion 31
12- versionCode 1
13- versionName " 1.0"
1410 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
1511 }
1612 buildTypes {
@@ -19,60 +15,25 @@ android {
1915 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2016 }
2117 }
22-
23- compileOptions {
24- encoding = ' UTF-8'
25- sourceCompatibility JavaVersion . VERSION_1_7
26- targetCompatibility JavaVersion . VERSION_1_7
27- }
2818 packagingOptions {
2919 exclude ' LICENSE.txt'
3020 }
3121}
3222
3323dependencies {
34- implementation fileTree(dir : ' libs' , include : [' *.jar' ])
35- implementation ' androidx.appcompat:appcompat:1.2.0'
36- implementation " com.squareup:seismic:$versions . seismic "
24+ implementation ' androidx.appcompat:appcompat:1.3.1'
25+ implementation " com.squareup:seismic:1.0.3"
3726
38- androidTestImplementation ' androidx.test.ext:junit:1.1.1 '
39- androidTestImplementation ' androidx.test:rules:1.1.1 '
40- androidTestImplementation " org.hamcrest:hamcrest-library:$v ersions . hamcrest "
41- androidTestImplementation(" org.mockito:mockito-core:$v ersions . mockitoCore " ) {
27+ androidTestImplementation ' androidx.test.ext:junit:1.1.3 '
28+ androidTestImplementation ' androidx.test:rules:1.4.0 '
29+ androidTestImplementation " org.hamcrest:hamcrest-library:1.3 "
30+ androidTestImplementation(" org.mockito:mockito-core:3.9.0 " ) {
4231 exclude group : ' org.hamcrest' , module : ' hamcrest-core'
4332 }
44- androidTestImplementation " com.linkedin.dexmaker:dexmaker-mockito:$versions . dexmakerMokito "
45- androidTestImplementation " org.mockito.kotlin:mockito-kotlin:$versions . mockitoKotlin "
46- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
47- }
48-
49- def siteUrl = ' https://github.com/tomoima525/debot'
50-
51- /*
52- publish {
53- userOrg = 'tomoima525'
54- groupId = 'com.tomoima.debot'
55- artifactId = 'debot'
56- bintrayUser = bintray_user
57- bintrayKey = bintray_key
58- publishVersion = library_version
59- desc = 'A simple Android library to create Debugging menu.'
60- website = siteUrl
61- licences = ['Apache-2.0']
33+ androidTestImplementation " com.linkedin.dexmaker:dexmaker-mockito:2.28.1"
34+ androidTestImplementation " org.mockito.kotlin:mockito-kotlin:3.2.0"
6235}
63- */
6436
65- // Avoid Kotlin docs error
66- tasks. withType(Javadoc ) {
67- enabled = false
68- }
69-
70- repositories {
71- mavenCentral()
72- }
73-
74-
75- // For JFrog artifactory upload
7637afterEvaluate {
7738 publishing {
7839 publications {
@@ -85,5 +46,3 @@ afterEvaluate {
8546 }
8647 }
8748}
88-
89- // apply from: rootProject.file('gradle/gradle-artifactory-upload.gradle')
0 commit comments