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
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
3ead16568c
Migrate subtitles DB
2 years ago
Nicolas Pomepuy
cba5d3ead4
Add the hearing unpaired flag to opensubtitles queries
2 years 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
748401e563
Fix some lint warnings
2 years ago
Nicolas Pomepuy
d5e23571d3
Remove deprecated buildToolsVersion and fix the compileSdk deprecation
3 years ago
Nicolas Pomepuy
c25d9c2878
Change the media slave table primary key to a composite one to avoid insertion collision
Fixes #1555
3 years ago
Nicolas Pomepuy
ccd8112627
Add widget DB column and preference for the widget type
3 years ago
Robert Stone
20dc62fc72
Specify gradle build tools version and relocate jvmTarget to top-level config
4 years ago
Nicolas Pomepuy
4b124e1822
Widgets: allow hiding the cover on the mini layout
Fixes #2632
Fixes #2621
4 years ago
Nicolas Pomepuy
3a2445578d
Improve the widget seek buttons
Add a widget setting to hide the seek buttons
Improve the control bar layout
Small widgets util refactor
4 years ago
Nicolas Pomepuy
5ab549d09f
Migrate namespaces in gradle files
4 years ago
Nicolas Pomepuy
70e27c5758
Remove useless headers and annotations
4 years ago
Nicolas Pomepuy
b8cdc02973
Add a new Room table for the widgets
4 years ago
Robert Stone
856c1cb44c
Update headers and disable schema export
4 years ago
Robert Stone
602e37dea4
Relocate source to match package name
4 years ago
Robert Stone
b125a8bfea
Add coroutines annotations
4 years ago
Robert Stone
b46ad3cc98
Remove kotlin-android-extensions plugin and update gradle dependencies
Fixes #2467
4 years ago
Nicolas Pomepuy
7b2f80d8e9
Update all dependencies
5 years ago
Nicolas Pomepuy
75956c68ed
Add a whatsapp browser favorite with the new path
5 years ago
Duncan McNamara
774010f03d
Favs: display only network if no permissions
When the user hasn't given storage permission, favorites should be
displayed, but only from network
5 years ago
Duncan McNamara
5ee1e77170
BrowserFavDao: fix typo
5 years ago
Nicolas Pomepuy
7f5aadd2f2
Upgrade to Android plugin version 7.1.0
5 years ago
Nicolas Pomepuy
309861d7a5
Migrate to gradle 7.0.2
5 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
Isira Seneviratne
8ddd914644
Use Core KTX functions
6 years ago
Nicolas Pomepuy
e6906bc3da
Fix app crashing at startup on Android 19
Fixes #1318
6 years ago
Geoffrey Métais
7f851bd093
Update dependencies
6 years ago
Geoffrey Métais
7e9722e8fe
Merge favorites with items parsing
6 years ago
Geoffrey Métais
38f9e7949e
Fix test build
7 years ago
Geoffrey Métais
2fe640ff64
Gradle: Fix dev flavors in modules
7 years ago
Geoffrey Métais
56f60536f4
Move app modules in 'application' folder
7 years ago