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
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
Steve Lhomme
b8f869ce9a
buildsystem: add missing targetSdkVersion
So all defaultConfig are defined the same way.
1 year ago
Nicolas Pomepuy
ce7acc9291
Use the new gradle plugin syntax
1 year ago
Nicolas Pomepuy
48e4cecb6b
Start implementing the new OpenSubtitle API
2 years ago
Nicolas Pomepuy
072d5fc30d
Add the open subtitles API key from the gradle properties
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
6a9526a133
Migrate BuildConfig to gradle files
2 years ago
Nicolas Pomepuy
d5e23571d3
Remove deprecated buildToolsVersion and fix the compileSdk deprecation
3 years ago
Robert Stone
20dc62fc72
Specify gradle build tools version and relocate jvmTarget to top-level config
4 years ago
Nicolas Pomepuy
ddeb099076
VLCOptions: remove HWDecoderUtil.AudioOutput.AUDIOTRACK handling
HWDecoderUtil.getAudioOutputFromDevice() can only return OPENSLES or ALL.
4 years ago
Martin Finkel
6f4013294b
build: depend on libvlcjni
4 years ago
Nicolas Pomepuy
5ab549d09f
Migrate namespaces in gradle files
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
7f5aadd2f2
Upgrade to Android plugin version 7.1.0
5 years ago
Nicolas Pomepuy
6012b348a9
Migrate the styles to the resources module
(cherry picked from commit 23cea5df0e3cd08bbde6e0dc8c220c8979a92fdd)
5 years ago
Nicolas Pomepuy
309861d7a5
Migrate to gradle 7.0.2
5 years ago
Nicolas Pomepuy
ab41d9367d
Fastlane integration
6 years ago
Isira Seneviratne
8ddd914644
Use Core KTX functions
6 years ago
Nicolas Pomepuy
67fb3f3e76
Move more resources to the resource module
6 years ago
Nicolas Pomepuy
b34e596437
Move all the vector drawables to the resources module
6 years ago
Geoffrey Métais
38f9e7949e
Fix test build
7 years ago
Geoffrey Métais
8d288a6ad3
Move OpenSubtitles classes to resources module
7 years ago
Nicolas Pomepuy
44d3276e9f
Fix widgets crash + fix small typo
Fixes #1178
7 years ago
Geoffrey Métais
f74e838dda
Fix release build
7 years ago
Geoffrey Métais
56f60536f4
Move app modules in 'application' folder
7 years ago
Geoffrey Métais
30c19aac61
TV Module
7 years ago
Nicolas Pomepuy
8ee47a0ef5
Move the media DB to a new module
7 years ago
Nicolas Pomepuy
dd270ec5dc
Use the right order for resources gradle plugins
7 years ago
Nicolas Pomepuy
8dc79b4fcc
Allow getting Application context in the resources module
7 years ago
Geoffrey Métais
3930df7dd8
Remove androidx.media depencency
7 years ago
Geoffrey Métais
d4709dfacb
Move Constants and assets in resources/
7 years ago
Geoffrey Métais
20e7005014
Create a resources module
7 years ago