11plugins {
22 id ' com.android.library'
3- id ' com.github.dcendents.android-maven'
43 id ' maven-publish'
5- id " com.jfrog.bintray" version " 1.8.5"
64}
75
86group= ' com.github.maddevsio'
@@ -15,32 +13,31 @@ ext {
1513android {
1614 compileSdkVersion 33
1715 defaultConfig {
18- minSdkVersion 18
16+ minSdkVersion 23
1917 targetSdkVersion 33
20- versionCode 1
21- versionName " 1.0"
22-
2318 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
24-
2519 }
26-
2720 buildTypes {
2821 release {
2922 minifyEnabled false
3023 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
3124 }
3225 }
33-
26+ compileOptions {
27+ targetCompatibility JavaVersion . VERSION_1_8
28+ sourceCompatibility JavaVersion . VERSION_1_8
29+ }
30+ namespace ' mad.location.manager'
3431}
3532
3633dependencies {
3734 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
3835
39- api ' androidx.appcompat:appcompat:1.2.0 '
36+ api ' androidx.appcompat:appcompat:1.4.1 '
4037 api ' androidx.legacy:legacy-support-v4:1.0.0'
41- api ' com.google.android.material:material:1.2.1 '
42- api ' androidx.recyclerview:recyclerview:1.1.0 '
43- implementation " com.google.android.gms:play-services-location:21.0.1 "
38+ api ' com.google.android.material:material:1.6.0 '
39+ implementation ' com.google.android.gms:play-services-location:21.0.1 '
40+ implementation ' org.chromium.net:cronet-embedded:98.4758.101 '
4441 testImplementation ' junit:junit:4.13.2'
4542 androidTestImplementation ' androidx.test.ext:junit:1.1.5'
4643 androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
@@ -112,32 +109,3 @@ project.afterEvaluate {
112109 }
113110}
114111
115- bintray {
116- dryRun = false
117- publish = true
118- override = true
119- user = System . getenv(' BINTRAY_USER' ) ?: (project. hasProperty(' bintrayUser' ) ? project. property(' bintrayUser' ) : ' ' )
120- key = System . getenv(' BINTRAY_KEY' ) ?: (project. hasProperty(' bintrayKey' ) ? project. property(' bintrayKey' ) : ' ' )
121- publications = [' mavenPublication' ]
122-
123- pkg {
124- repo = ' maven'
125- name = ' mad-location-manager'
126- userOrg = ' Lezh1k'
127- description = ' This is library for GPS and Accelerometer data "fusion" with Kalman filter'
128- publications = [' mavenPublication' ]
129- licenses = [' MIT' ]
130- vcsUrl = ' https://github.com/maddevsio/mad-location-manager.git'
131- websiteUrl = ' https://github.com/maddevsio/mad-location-manager.git'
132- issueTrackerUrl = ' https://github.com/maddevsio/mad-location-manager/issues'
133- githubRepo = ' maddevsio/mad-location-manager'
134- githubReleaseNotesFile = ' README.md'
135- version {
136- name = releaseVersion
137- desc = ' Mad Location Manager v' + releaseVersion
138- released = new Date ()
139- vcsTag = releaseVersion
140- }
141- }
142- }
143-
0 commit comments