File tree 27 files changed +293
-20
lines changed
avatarview-stream-integration
buildSrc/src/main/kotlin/io/getstream/avatarview
27 files changed +293
-20
lines changed Original file line number Diff line number Diff line change @@ -42,4 +42,3 @@ dependencies {
42
42
implementation project(" :avatarview-stream-integration" )
43
43
}
44
44
45
- apply from : " $rootDir /spotless.gradle"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
18
package =" io.getstream.avatarviewdemo" >
4
19
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
1
17
<vector xmlns : android =" http://schemas.android.com/apk/res/android"
2
18
xmlns : aapt =" http://schemas.android.com/aapt"
3
19
android : width =" 108dp"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<vector xmlns : android =" http://schemas.android.com/apk/res/android"
3
18
android : width =" 108dp"
4
19
android : height =" 108dp"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<layout xmlns : android =" http://schemas.android.com/apk/res/android"
3
18
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
19
xmlns : tools =" http://schemas.android.com/tools" >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<adaptive-icon xmlns : android =" http://schemas.android.com/apk/res/android" >
3
18
<background android : drawable =" @drawable/ic_launcher_background" />
4
19
<foreground android : drawable =" @drawable/ic_launcher_foreground" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<adaptive-icon xmlns : android =" http://schemas.android.com/apk/res/android" >
3
18
<background android : drawable =" @drawable/ic_launcher_background" />
4
19
<foreground android : drawable =" @drawable/ic_launcher_foreground" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
1
17
<resources xmlns : tools =" http://schemas.android.com/tools" >
2
18
<!-- Base application theme. -->
3
19
<style name =" Theme.AvatarViewDemo" parent =" Theme.MaterialComponents.DayNight.DarkActionBar" >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<resources >
3
18
<color name =" background" >#212121</color >
4
19
<color name =" blue_200" >#005FFF</color >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
1
17
<resources >
2
18
<string name =" app_name" >AvatarView</string >
3
19
</resources >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
1
17
<resources xmlns : tools =" http://schemas.android.com/tools" >
2
18
<!-- Base application theme. -->
3
19
<style name =" Theme.AvatarViewDemo" parent =" Theme.MaterialComponents.DayNight.DarkActionBar" >
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ android {
27
27
targetSdkVersion Configuration . targetSdk
28
28
}
29
29
30
+ buildFeatures {
31
+ buildConfig false
32
+ }
33
+
30
34
compileOptions {
31
35
sourceCompatibility JavaVersion . VERSION_1_8
32
36
targetCompatibility JavaVersion . VERSION_1_8
@@ -61,5 +65,3 @@ dependencies {
61
65
implementation Dependencies . coroutines
62
66
implementation Dependencies . okhttp
63
67
}
64
-
65
- apply from : " $rootDir /spotless.gradle"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<manifest package =" io.getstream.avatarview.coil" />
Original file line number Diff line number Diff line change @@ -62,4 +62,3 @@ dependencies {
62
62
implementation Dependencies . coroutines
63
63
}
64
64
65
- apply from : " $rootDir /spotless.gradle"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<manifest package =" io.getstream.avatarview.glide" />
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ android {
29
29
30
30
resourcePrefix ' avatarview'
31
31
32
+ buildFeatures {
33
+ buildConfig false
34
+ }
35
+
32
36
compileOptions {
33
37
sourceCompatibility JavaVersion . VERSION_1_8
34
38
targetCompatibility JavaVersion . VERSION_1_8
@@ -61,4 +65,3 @@ dependencies {
61
65
implementation Dependencies . androidxAppcompat
62
66
}
63
67
64
- apply from : " $rootDir /spotless.gradle"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<manifest package =" io.getstream.avatarview.stream.integration" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<resources >
3
18
<color name =" avatarView_gradient_orange" >#FF8A65</color >
4
19
<color name =" avatarView_gradient_green" >#81C784</color >
Original file line number Diff line number Diff line change @@ -62,4 +62,3 @@ dependencies {
62
62
implementation Dependencies . coroutines
63
63
}
64
64
65
- apply from : " $rootDir /spotless.gradle"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<manifest package =" io.getstream.avatarview" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Stream.IO, Inc. All Rights Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
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.
16
+ -->
2
17
<resources >
3
18
<declare-styleable name =" AvatarView" >
4
19
<!-- AvatarView border color -->
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ tasks.withType(org.jetbrains.dokka.gradle.DokkaMultiModuleTask).configureEach {
24
24
failOnWarning = true
25
25
}
26
26
27
+ subprojects {
28
+ apply from : " $rootDir /spotless/spotless.gradle"
29
+ }
30
+
27
31
task clean (type : Delete ) {
28
32
delete rootProject. buildDir
29
33
}
30
34
31
- apply from : " ${ rootDir} /scripts/publish-root.gradle"
35
+ apply from : " ${ rootDir} /scripts/publish-root.gradle"
Original file line number Diff line number Diff line change 1
1
package io.getstream.avatarview
2
2
3
3
object Versions {
4
- internal const val ANDROID_GRADLE_PLUGIN = " 7.1.3 "
5
- internal const val ANDROID_GRADLE_SPOTLESS = " 6.3.0 "
4
+ internal const val ANDROID_GRADLE_PLUGIN = " 7.2.0 "
5
+ internal const val ANDROID_GRADLE_SPOTLESS = " 6.6.1 "
6
6
internal const val GRADLE_NEXUS_PUBLISH_PLUGIN = " 1.1.0"
7
7
internal const val KOTLIN = " 1.6.10"
8
8
internal const val KOTLIN_GRADLE_DOKKA = " 1.6.10"
You can’t perform that action at this time.
0 commit comments