Nicolas Pomepuy
d5f691d04c
Replace enum values by entries
1 year ago
Steve Lhomme
df70dd7070
gradle: set the minSdk once globally
We keep the value in rootProject.ext as it's currenly used by libvlcjni.
1 year ago
Steve Lhomme
98ac3b0d29
gradle: set the buildToolsVersion globally
We don't need to separate between VLC 3 and VLC 4 as they use the same code except for VlcMigrationHelper.
1 year ago
Steve Lhomme
3d1cbce81b
set the targetSdk/compileSdk globally
We know it's applied globally as the Android Gradle Plugin we use
defaults to compileSdk 35 which our code doesn't compile with.
1 year ago
Steve Lhomme
f5889b14c2
gradle: switch the target SDK version to targetSdk
The difference between targetSdk and targetSdkVersion seems that the former is an integer [^1].
We keep the value in rootProject.ext as it's currenly used by libvlcjni.
[^1]: https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SettingsExtension#setCompileSdk(kotlin.Int)
1 year ago
Steve Lhomme
96355178b4
gradle: switch the minimum SDK version to minSdk
The difference between minSdk and minSdkVersion seems that the former is an integer [^1].
We already use it to set the value to 30 for vlcBundle.
We keep the value in rootProject.ext as it's currenly used by libvlcjni.
[^1]: https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SettingsExtension#setMinSdk(kotlin.Int)
1 year ago
Steve Lhomme
35d9e4fa33
gradle: set the multiDexEnabled with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
befe198b16
gradle: set the buildConfig with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
422b88ed7a
gradle: set the compileSdk with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
b2e66af152
gradle: set the namespace with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
295073f5a7
gradle: set the build-tools version to the Docker ones
So we don't have to download them.
1 year ago
Nicolas Pomepuy
e114dd67fd
Migrate to ksp
1 year ago
Nicolas Pomepuy
ce7acc9291
Use the new gradle plugin syntax
1 year ago
Nicolas Pomepuy
2ab57d188e
Remove the notv build
2 years ago
Nicolas Pomepuy
fd4e19ac61
Create a bundle buildtype setting api min to 30
2 years ago
Nicolas Pomepuy
072cae83ab
Allow compiling the app without TV
2 years ago
Nicolas Pomepuy
6a9526a133
Migrate BuildConfig to gradle files
2 years ago
Nicolas Pomepuy
d5e23571d3
Remove deprecated buildToolsVersion and fix the compileSdk deprecation
3 years ago
Nicolas Pomepuy
c533a6a910
Bump AGP version to 8.1.0
3 years ago
Nicolas Pomepuy
1f5e2b127a
Implement the only favorites queries
4 years ago
Robert Stone
20dc62fc72
Specify gradle build tools version and relocate jvmTarget to top-level config
4 years ago
Nicolas Pomepuy
843967af8c
Fix extension and variable shadowing
4 years ago
Nicolas Pomepuy
0e6b833c8c
Fix parcelable warnings on intents and bundles
4 years ago
Nicolas Pomepuy
5ab549d09f
Migrate namespaces in gradle files
4 years ago
Robert Stone
6a85d4e3dd
Suppress warnings for unused parameters and rename shadowed variables
4 years ago
Robert Stone
da62f7ab49
Use Kotlin lowercase and uppercase functions
4 years ago
Robert Stone
a422a004ed
Fix warnings
4 years ago
Robert Stone
856c1cb44c
Update headers and disable schema export
4 years ago
Robert Stone
b125a8bfea
Add coroutines annotations
4 years ago
Robert Stone
6f5059568c
Remove Kotlin annotations
4 years ago
Robert Stone
b46ad3cc98
Remove kotlin-android-extensions plugin and update gradle dependencies
Fixes #2467
4 years ago
Nicolas Pomepuy
85ad7d78a6
Update coroutines dependency version and migrate from offer to trySend
5 years ago
Nicolas Pomepuy
7b2f80d8e9
Update all dependencies
5 years ago
Nicolas Pomepuy
91e69a05e0
Move lambda arguments outside of parentheses
And other lint fixes
5 years ago
Nicolas Pomepuy
7f5aadd2f2
Upgrade to Android plugin version 7.1.0
5 years ago
Nicolas Pomepuy
59de8bd5ac
Refactor the string separation in the whole app
5 years ago
Mohit Mandalia
a1faf1600a
Fix Snackbar in Audio Player
Fixes #2277
5 years ago
Nicolas Pomepuy
5d7a78be10
Target API 30
5 years ago
Nicolas Pomepuy
5beb3b5a74
Implement the includeMissing query param from the medialibrary
6 years ago
Geoffrey Métais
a82f3994b4
Upgrade dependencies
5 years ago
Geoffrey Métais
bc7b4879a7
Fix build on Apple Silicon devices
5 years ago
Nicolas Pomepuy
5e35565117
Update all dependencies
6 years ago
Nicolas Pomepuy
de54855233
Normalize snackbars positioning
6 years ago
Nicolas Pomepuy
34488b09e5
Cleanup observer calls
6 years ago
Nicolas Pomepuy
7c62483f22
Upgrade AGP + fix BuildConfig variable generation
6 years ago
Isira Seneviratne
8ddd914644
Use Core KTX functions
6 years ago
Geoffrey Métais
e445f0fe2b
TV: Use sequences to find first resumable episode
This reduces the number of medialibrary calls
7 years ago
Geoffrey Métais
881c10c2d4
Set resolver as singleton objects
7 years ago
Geoffrey Métais
b44559b0c8
Fix TV provider content ID
7 years ago
Geoffrey Métais
6ff91d2997
Setup delegates for indexing and content resolving
7 years ago