diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ebbb59e5..db177d4a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,4 +25,4 @@ information on using pull requests. ## Community Guidelines This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). \ No newline at end of file +[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). diff --git a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/GenerativeAiViewModelFactory.kt b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/GenerativeAiViewModelFactory.kt index 519a527d..007606bc 100644 --- a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/GenerativeAiViewModelFactory.kt +++ b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/GenerativeAiViewModelFactory.kt @@ -73,4 +73,4 @@ val GenerativeViewModelFactory = object : ViewModelProvider.Factory { } } as T } -} \ No newline at end of file +} diff --git a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatUiState.kt b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatUiState.kt index 2fc56ae2..48dea90e 100644 --- a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatUiState.kt +++ b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatUiState.kt @@ -36,4 +36,4 @@ class ChatUiState( _messages.add(newMessage) } } -} \ No newline at end of file +} diff --git a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt index dbfa23b5..f102678d 100644 --- a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt +++ b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/feature/chat/ChatViewModel.kt @@ -85,4 +85,4 @@ class ChatViewModel( } } } -} \ No newline at end of file +} diff --git a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/ui/theme/Type.kt b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/ui/theme/Type.kt index 60e75d3f..122f41ab 100644 --- a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/ui/theme/Type.kt +++ b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/ui/theme/Type.kt @@ -31,4 +31,4 @@ val Typography = Typography( lineHeight = 24.sp, letterSpacing = 0.5.sp ) -) \ No newline at end of file +) diff --git a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/util/UriSaver.kt b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/util/UriSaver.kt index 199cadff..3581566a 100644 --- a/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/util/UriSaver.kt +++ b/generativeai-android-sample/app/src/main/kotlin/com/google/ai/sample/util/UriSaver.kt @@ -29,4 +29,4 @@ class UriSaver : Saver, List> { }.toMutableList() override fun SaverScope.save(value: MutableList): List = value.map { it.toString() } -} \ No newline at end of file +} diff --git a/generativeai/.gitignore b/generativeai/.gitignore index 42afabfd..796b96d1 100644 --- a/generativeai/.gitignore +++ b/generativeai/.gitignore @@ -1 +1 @@ -/build \ No newline at end of file +/build diff --git a/generativeai/proguard-rules.pro b/generativeai/proguard-rules.pro index 481bb434..f1b42451 100644 --- a/generativeai/proguard-rules.pro +++ b/generativeai/proguard-rules.pro @@ -18,4 +18,4 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile diff --git a/generativeai/src/main/AndroidManifest.xml b/generativeai/src/main/AndroidManifest.xml index e2612fd6..c9bc1472 100644 --- a/generativeai/src/main/AndroidManifest.xml +++ b/generativeai/src/main/AndroidManifest.xml @@ -15,4 +15,4 @@ --> - \ No newline at end of file + diff --git a/generativeai/src/test/resources/golden-files/streaming/failure-http-error.txt b/generativeai/src/test/resources/golden-files/streaming/failure-http-error.txt index bc01b3af..8c75fd7b 100644 --- a/generativeai/src/test/resources/golden-files/streaming/failure-http-error.txt +++ b/generativeai/src/test/resources/golden-files/streaming/failure-http-error.txt @@ -10,4 +10,4 @@ } ] } -} \ No newline at end of file +} diff --git a/generativeai/src/test/resources/golden-files/streaming/failure-unknown-model.txt b/generativeai/src/test/resources/golden-files/streaming/failure-unknown-model.txt index 720d4274..60b3f55c 100644 --- a/generativeai/src/test/resources/golden-files/streaming/failure-unknown-model.txt +++ b/generativeai/src/test/resources/golden-files/streaming/failure-unknown-model.txt @@ -10,4 +10,4 @@ } ] } -} \ No newline at end of file +} diff --git a/generativeai/src/test/resources/golden-files/unary/failure-http-error.json b/generativeai/src/test/resources/golden-files/unary/failure-http-error.json index 9179f6cc..c8b07a5b 100644 --- a/generativeai/src/test/resources/golden-files/unary/failure-http-error.json +++ b/generativeai/src/test/resources/golden-files/unary/failure-http-error.json @@ -10,4 +10,4 @@ } ] } -} \ No newline at end of file +} diff --git a/generativeai/src/test/resources/golden-files/unary/failure-unknown-model.json b/generativeai/src/test/resources/golden-files/unary/failure-unknown-model.json index 720d4274..60b3f55c 100644 --- a/generativeai/src/test/resources/golden-files/unary/failure-unknown-model.json +++ b/generativeai/src/test/resources/golden-files/unary/failure-unknown-model.json @@ -10,4 +10,4 @@ } ] } -} \ No newline at end of file +} diff --git a/gradle.properties b/gradle.properties index c0123bf7..8dafd9fc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,4 +22,4 @@ kotlin.code.style=official # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true # No currently stable versions of AGP are tested against compileSdk 34 -android.suppressUnsupportedCompileSdk=34 \ No newline at end of file +android.suppressUnsupportedCompileSdk=34