Skip to content

Commit 1fef2b8

Browse files
authored
Apply Spotless with new configuration (#1567)
* Configure Spotless through the convention plugins * Remove SpotlessConventionPlugin * Apply Spotless with new configuration * Remove tutorial-audio .idea folder
1 parent fb588a2 commit 1fef2b8

File tree

166 files changed

+1582
-1638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+1582
-1638
lines changed

benchmark/src/main/AndroidManifest.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1818

demo-app/build.gradle.kts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ android {
105105
baselineProfile.automaticGenerationDuringBuild = true
106106
proguardFiles(
107107
getDefaultProguardFile("proguard-android-optimize.txt"),
108-
"proguard-rules.pro"
108+
"proguard-rules.pro",
109109
)
110110
signingConfig = signingConfigs.getByName("release")
111111
}
@@ -140,7 +140,9 @@ android {
140140
}
141141

142142
playConfigs {
143-
val serviceAccountCredentialsFile: File = rootProject.file(".sign/service-account-credentials.json")
143+
val serviceAccountCredentialsFile: File = rootProject.file(
144+
".sign/service-account-credentials.json",
145+
)
144146
if (serviceAccountCredentialsFile.exists()) {
145147
register("productionRelease") {
146148
enabled.set(true)
@@ -196,7 +198,7 @@ androidComponents {
196198
it.versionName.set(
197199
it.versionCode.map { playVersionCode ->
198200
"${Configuration.streamVideoCallGooglePlayVersion} ($playVersionCode)"
199-
}
201+
},
200202
)
201203
}
202204

@@ -214,10 +216,8 @@ dependencies {
214216
implementation(project(":stream-video-android-filters-video"))
215217
compileOnly(project(":stream-video-android-previewdata"))
216218

217-
218219
implementation(libs.androidx.media.media)
219220

220-
221221
implementation(libs.androidx.media.media)
222222

223223
// Noise Cancellation
@@ -278,7 +278,9 @@ dependencies {
278278
implementation(libs.moshi.kotlin)
279279

280280
// Play
281-
implementation(libs.play.install.referrer) // Used to extract the meeting link from demo flow after install
281+
implementation(
282+
libs.play.install.referrer,
283+
) // Used to extract the meeting link from demo flow after install
282284
implementation(libs.play.auth)
283285
implementation(libs.play.app.update.ktx)
284286

demo-app/lint-baseline.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<issues format="6" by="lint 7.3.1" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.1)" variant="all" version="7.3.1">
1818

demo-app/src/development/res/drawable/ic_launcher_background.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
1818
xmlns:aapt="http://schemas.android.com/aapt"

demo-app/src/development/res/values/strings.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<resources>
1818
<string name="app_name">Stream Video Calls (Development)</string>

demo-app/src/e2etesting/res/drawable/ic_launcher_background.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
1818
xmlns:aapt="http://schemas.android.com/aapt"

demo-app/src/e2etesting/res/values/strings.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<resources>
1818
<string name="app_name">Stream Video Calls (E2E Testing)</string>

demo-app/src/main/AndroidManifest.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1818
xmlns:tools="http://schemas.android.com/tools">

demo-app/src/main/res/drawable/google_button_logo.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
1818
android:width="24dp"

demo-app/src/main/res/drawable/ic_blur_off.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright (c) 2024 Stream.io Inc. All rights reserved.
3+
Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
44
5-
Licensed under the Stream License;
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
5+
Licensed under the Stream License;
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
88
9-
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
9+
https://github.com/GetStream/stream-video-android/blob/main/LICENSE
1010
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
-->
1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
1818
android:width="24dp"

0 commit comments

Comments
 (0)