File tree 5 files changed +48
-50
lines changed
5 files changed +48
-50
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" com.android.application" )
3
+ kotlin(" android" )
4
+ id(" kotlin-parcelize" )
5
+ }
6
+
7
+ android {
8
+ compileSdk = 30
9
+
10
+ defaultConfig {
11
+ applicationId = " com.peterfarlow"
12
+ minSdk = 28
13
+ targetSdk = 30
14
+ versionCode = 1
15
+ versionName = " 1.0"
16
+
17
+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
18
+ }
19
+
20
+ buildTypes {
21
+ getByName(" release" ) {
22
+ isMinifyEnabled = false
23
+ proguardFiles(getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro" )
24
+ }
25
+ getByName(" debug" ) {
26
+ isMinifyEnabled = false
27
+ }
28
+ }
29
+ compileOptions {
30
+ sourceCompatibility(JavaVersion .VERSION_11 )
31
+ targetCompatibility(JavaVersion .VERSION_11 )
32
+ }
33
+ kotlinOptions {
34
+ jvmTarget = " 11"
35
+ }
36
+ }
37
+
38
+ dependencies {
39
+ implementation(" androidx.core:core-ktx:1.6.0" )
40
+ implementation(" androidx.appcompat:appcompat:1.3.1" )
41
+ implementation(" com.google.android.material:material:1.4.0" )
42
+ testImplementation(" junit:junit:4.13.2" )
43
+ androidTestImplementation(" androidx.test.ext:junit:1.1.3" )
44
+ androidTestImplementation(" androidx.test.espresso:espresso-core:3.4.0" )
45
+ }
Original file line number Diff line number Diff line change 1
1
# Add project specific ProGuard rules here.
2
2
# You can control the set of applied configuration files using the
3
- # proguardFiles setting in build.gradle.
3
+ # proguardFiles setting in build.gradle.kts.
4
4
#
5
5
# For more details, see
6
6
# http://developer.android.com/guide/developing/tools/proguard.html
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ #-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ buildscript {
9
9
}
10
10
}
11
11
12
- task clean ( type : Delete ) {
12
+ tasks.register( " clean " , Delete :: class ) {
13
13
delete(rootProject.buildDir)
14
14
}
Original file line number Diff line number Diff line change @@ -15,7 +15,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
15
15
# Android operating system, and which are packaged with your app"s APK
16
16
# https://developer.android.com/topic/libraries/support-library/androidx-rn
17
17
android.useAndroidX =true
18
- # Automatically convert third-party libraries to use AndroidX
19
- android.enableJetifier =true
20
18
# Kotlin code style for this project: "official" or "obsolete":
21
19
kotlin.code.style =official
You can’t perform that action at this time.
0 commit comments