Skip to content

Commit f64e8b4

Browse files
committed
Gradle, sdk, lib updates
1 parent cf95dbf commit f64e8b4

File tree

5 files changed

+17
-53
lines changed

5 files changed

+17
-53
lines changed

app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ android {
44
compileSdkVersion 33
55
defaultConfig {
66
applicationId "com.example.lezh1k.sensordatacollector"
7-
minSdkVersion 21
7+
minSdkVersion 23
88
targetSdkVersion 33
99
versionCode 1
1010
versionName "1.0"
@@ -20,9 +20,10 @@ android {
2020
}
2121
}
2222
compileOptions {
23-
targetCompatibility 1.8
24-
sourceCompatibility 1.8
23+
targetCompatibility JavaVersion.VERSION_1_8
24+
sourceCompatibility JavaVersion.VERSION_1_8
2525
}
26+
namespace 'com.example.lezh1k.sensordatacollector'
2627
}
2728

2829
dependencies {

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.example.lezh1k.sensordatacollector">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
65
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ buildscript {
88
url "https://maven.google.com"
99
}
1010
google()
11-
jcenter()
12-
1311
}
1412
dependencies {
15-
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
16-
classpath 'com.android.tools.build:gradle:4.2.2'
13+
classpath 'com.android.tools.build:gradle:7.2.0'
1714

1815
// NOTE: Do not place your application dependencies here; they belong
1916
// in the individual module build.gradle files
@@ -26,7 +23,6 @@ allprojects {
2623
maven {
2724
url "https://maven.google.com"
2825
}
29-
jcenter()
3026
google()
3127
}
3228
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip

madlocationmanager/build.gradle

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
plugins {
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

86
group='com.github.maddevsio'
@@ -15,32 +13,31 @@ ext {
1513
android {
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

3633
dependencies {
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

Comments
 (0)