File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 24
24
<intent-filter >
25
25
<action android : name =" android.intent.action.MAIN" />
26
26
27
- <category android : name =" android.intent.category.DEFAULT" />
28
- <category android : name =" android.intent.category.BROWSABLE" />
29
27
<category android : name =" android.intent.category.LAUNCHER" />
30
28
</intent-filter >
31
29
</activity >
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ android {
16
16
defaultConfig {
17
17
buildConfigField(" String" , " BASE_URL" , getApiKey(" BASE_URL" ))
18
18
buildConfigField(" String" , " GOOGLE_CLIENT_ID" , getApiKey(" GOOGLE_CLIENT_ID" ))
19
- buildConfigField(" String" , " REDIRECT_URI" , getApiKey(" REDIRECT_URI" ))
20
19
buildConfigField(" String" , " SCOPE" , getApiKey(" SCOPE" ))
21
20
}
22
21
@@ -43,9 +42,6 @@ dependencies {
43
42
44
43
fun getApiKey (propertyKey : String ): String {
45
44
val propFile = rootProject.file(" ./local.properties" )
46
- if (! propFile.exists()) {
47
- throw FileNotFoundException (" local.properties file not found" )
48
- }
49
45
val properties = Properties ()
50
46
properties.load(FileInputStream (propFile))
51
47
return properties.getProperty(propertyKey) ? : throw IllegalArgumentException (" Property $propertyKey not found in local.properties file" )
You can’t perform that action at this time.
0 commit comments