Skip to content

Commit aa8b2b3

Browse files
committed
Added gradle related stuffs and refactored .gradle files for workflow
1 parent b57b7a3 commit aa8b2b3

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

app/build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,32 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 29
5+
buildToolsVersion '32.0.0 rc1'
56
defaultConfig {
67
applicationId "com.ratul.topactivity"
7-
minSdkVersion 14
8-
targetSdkVersion 25
8+
minSdkVersion 24
9+
targetSdkVersion 31
910
versionCode 15
1011
versionName "1.5.5"
1112
}
1213

1314
buildTypes {
1415
release {
16+
debuggable false
1517
minifyEnabled true
1618
shrinkResources true
1719
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1820
}
1921
debug {
2022
debuggable true
21-
minifyEnabled true
22-
shrinkResources true
23+
minifyEnabled false
24+
shrinkResources false
2325
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2426
}
2527
}
2628
}
2729

2830
dependencies {
31+
// todo : use AndroidX
2932
implementation 'com.android.support:support-v4:25.4.0'
3033
}

app/build.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
buildscript {
33
repositories {
44
google()
5-
jcenter()
5+
mavenCentral()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.1.3'
8+
classpath 'com.android.tools.build:gradle:7.1.2'
99
}
1010
}
1111

1212
allprojects {
1313
repositories {
1414
google()
15-
jcenter()
15+
mavenCentral()
1616
}
1717
}

0 commit comments

Comments
 (0)