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
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
Robert Stone
20dc62fc72
Specify gradle build tools version and relocate jvmTarget to top-level config
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
309861d7a5
Migrate to gradle 7.0.2
5 years ago
Nicolas Pomepuy
5e35565117
Update all dependencies
6 years ago
Isira Seneviratne
8ddd914644
Use Core KTX functions
6 years ago
Geoffrey Métais
38f9e7949e
Fix test build
7 years ago
Geoffrey Métais
56f60536f4
Move app modules in 'application' folder
7 years ago
Nicolas Pomepuy
080da58907
New module for video stats
7 years ago
Nicolas Pomepuy
a8789baee6
Fix some gradle issues + add a safety net to the context in AppInstance
7 years ago
Nicolas Pomepuy
8ee47a0ef5
Move the media DB to a new module
7 years ago