Skip to content

Commit 4a43216

Browse files
committed
Update gradle files
1 parent 9fec9c7 commit 4a43216

File tree

6 files changed

+198
-201
lines changed

6 files changed

+198
-201
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
.DS_Store
2+
.gradle
3+
.idea
4+
local.properties

build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33

44
buildscript {
5+
ext.kotlin_version = '1.3.72'
56
repositories {
7+
google()
68
mavenCentral()
9+
jcenter()
710
}
811
dependencies {
9-
classpath 'com.android.tools.build:gradle:1.2.3'
12+
classpath 'com.android.tools.build:gradle:4.0.0'
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1014
}
1115
}

gradle/wrapper/gradle-wrapper.properties

+1-1
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-2.2.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

slt/build.gradle

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'kotlin-android'
23

34
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
5+
compileSdkVersion 30
6+
buildToolsVersion "30.0.0"
67

78
defaultConfig {
89
minSdkVersion 8
9-
targetSdkVersion 23
10+
targetSdkVersion 30
1011
versionCode 7
11-
versionName "3.2"
12-
}
13-
14-
libraryVariants.all { variant ->
15-
variant.outputs.each { output ->
16-
// Add the versionName in the file name
17-
def file = output.outputFile
18-
output.outputFile = new File(file.parent, file.name.replace(".aar", "-" + defaultConfig.versionName + ".aar"))
19-
}
12+
versionName "4.0"
2013
}
2114

2215
lintOptions {
@@ -32,5 +25,11 @@ android {
3225
}
3326

3427
dependencies {
35-
compile 'com.android.support:support-annotations:23.1.1'
28+
implementation 'com.android.support:support-annotations:28.0.0'
29+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
30+
}
31+
32+
repositories {
33+
google()
34+
mavenCentral()
3635
}

slt/src/main/java/fr/quentinklein/slt/TrackerSettings.java

-186
This file was deleted.

0 commit comments

Comments
 (0)