Skip to content

Commit e2bfc06

Browse files
committed
Fix typo
1 parent 324537b commit e2bfc06

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

StudyplusAndroidSDK/gradle.properties.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ signing.secretKeyRingFile=__your_value__
55
sonatypeUsername=__your_value__
66
sonatypePassword=__your_value__
77

8-
debugApiEndPoint = __your_value__
8+
debugApiEndpoint = __your_value__
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
def apiEndPoint = {
2+
def apiEndpoint = {
33
def debugTasks = [
44
':SDKExample:assembleDevelopmentDebug',
55
]
@@ -9,7 +9,7 @@ def apiEndPoint = {
99
}
1010
}
1111
if (isCurrentTaskForDebug()){
12-
project.properties.debugApiEndPoint
12+
project.properties.debugApiEndpoint
1313
} else {
1414
"https://external-api.studyplus.jp"
1515
}
@@ -18,13 +18,13 @@ def apiEndPoint = {
1818
android{
1919
def quote = { '"' + it + '"' }
2020
release {
21-
buildConfigField "String", "API_ENDPOINT", quote(apiEndPoint())
21+
buildConfigField "String", "API_ENDPOINT", quote(apiEndpoint())
2222
}
2323
/**
2424
* CAUTION: this debug `buildConfigField` does NOT work!
2525
* rf. https://code.google.com/p/android/issues/detail?id=52962
2626
*/
2727
debug {
28-
buildConfigField "String", "API_ENDPOINT", quote(project.properties.debugApiEndPoint)
28+
buildConfigField "String", "API_ENDPOINT", quote(project.properties.debugApiEndpoint)
2929
}
3030
}

0 commit comments

Comments
 (0)