40 Commits

Author SHA1 Message Date
Niels van Velzen
346c21c0b4 Migrate to AGP9 2026-01-17 13:27:28 +01:00
Niels van Velzen
8d28a22337 Run Detekt from root module only 2025-07-24 21:30:01 +02:00
Niels van Velzen
4c86b6f9b2 KGP: replace kotlinOptions with compilerOptions 2025-06-23 21:08:46 +02:00
Niels van Velzen
acf8af6441 Use Java 21 in jvm toolchain 2024-10-15 17:54:32 +02:00
David Fairbrother
4bb2158cc0 Use JDK toolchains to explicitly use JDK 17
Explicitly mark that we want version 17 of the JDK as the compiler. Previously
we implicitly relied on Gradle getting this right. This means devs and
CI will all use the same JDK explicitly rather than implicitly.

Pin the target JDK version in build.gradle.kts, this should apply to all
targets (including Kotlin) to version 1.8 to maintain compatibility with
older devices
2023-04-13 21:56:26 +02:00
Niels van Velzen
98c5700b66 Set Java versions for Kotlin and Android plugin 2023-04-04 14:38:33 +02:00
David Fairbrother
480a71d1a6 Emit JUnit output whilst running gradle through CLI
Tweaks the gradle script to forward on test failures in a way that the
stack trace is preserved.

Previously, the stack pointed to a line after the test suite, e.g. line
101 on an 80 line file.
2021-12-28 18:54:17 +01:00
Niels van Velzen
ced03b82de Move Gradle plugins to plugin catalog (#1296)
* Move Gradle plugins to plugin catalog

* Fix linter config for playback module
2021-12-19 14:44:28 +01:00
Niels van Velzen
a292045091 Show licenses from used libraries 2021-10-21 17:43:12 +02:00
Niels van Velzen
01db6e195b Refactor build scripts for consistency with jellyfin-sdk-kotlin 2021-07-08 22:33:05 +02:00
Niels van Velzen
1385cfba7e Support different SDK flavors 2021-06-29 17:29:24 +02:00
Niels van Velzen
d9244e1fa6 Update Detekt 2021-06-12 12:28:34 +02:00
Niels van Velzen
67b3d0742b Use Jellyfin apiclient from JitPack, remove JCenter repository 2021-06-12 12:25:10 +02:00
Niels van Velzen
729ee7d70b Update SDK snapshot version to master-SNAPSHOT 2021-05-29 16:38:35 +02:00
Niels van Velzen
e934e40378 Add gradle property to use snapshot version for the SDK 2021-05-22 11:00:08 +02:00
Niels van Velzen
69472cd50a Update Kotlin and Gradle plugin to latest version and add Android linter to linting workflow 2021-05-05 17:41:18 +02:00
Bill Thornton
332418562b Merge pull request #856 from nielsvanvelzen/gh-lint
Move linting and testing to GitHub actions
2021-05-05 11:30:40 -04:00
Niels van Velzen
9e80a25a19 Add linting with GitHub Actions 2021-05-04 15:14:22 +02:00
Niels van Velzen
a5cae1ebd6 Prefer Maven Central repository 2021-04-26 22:29:16 +02:00
Niels van Velzen
423357894d Merge pull request #793 from nielsvanvelzen/updep
Update dependencies
2021-04-05 17:48:24 +02:00
Niels van Velzen
b363590220 Update dependencies 2021-03-27 21:37:35 +01:00
Niels van Velzen
cf61ad4169 Use maven central as primary repository 2021-03-27 21:02:24 +01:00
Niels van Velzen
b4b9c9385f Update dependencies
Kotlin 1.4.10 -> 1.4.20
Android Gradle Plugin 4.1.1 -> 4.1.2

Leanback, androidx work, Glide, Junit
2021-02-04 20:05:05 +01:00
Niels van Velzen
89b0dd577f Initial authentication storage code 2020-12-22 22:33:03 +01:00
Niels van Velzen
4a7e94c02f Update Gradle, Gradle plugins, Android target/compile version and app dependencies to latest versions 2020-11-13 16:54:25 +01:00
Bill Thornton
fb9b2b2259 Bump kotlin version 2020-10-14 13:49:31 -04:00
Niels van Velzen
bda73e9386 Slightly change build files to be more consistent with Android mobile app.
- Updated apiclient
- Changed how version is set
- Updated getVersionCode function to support RC etc.
- Updated Dependency Substitution code after review in Android mobile repo
2020-09-12 12:46:44 +02:00
Bill Thornton
6e7ad894fd Merge pull request #540 from nielsvanvelzen/apiclient-070
Upgrade to apiclient 0.7.0
2020-08-21 14:30:14 -04:00
Niels van Velzen
b2e73a1d5d Set app version from git tag 2020-08-20 19:02:12 +02:00
Niels van Velzen
1d931e030e Remove videolan maven repository
It's linked to jcenter so we don't need it
2020-08-19 11:32:56 +02:00
Niels van Velzen
bf823738a7 Use jcenter repository for apiclient and update version to 0.7.2 2020-08-19 11:28:50 +02:00
Niels van Velzen
f73e882a33 Update TvApp to use the new ApiClient constructors 2020-08-15 11:03:39 +02:00
Niels van Velzen
4eaa2fc1bc Ignore failures 2020-06-01 16:50:30 +02:00
Niels van Velzen
2af454fa08 Add Detekt support 2020-06-01 16:41:21 +02:00
Niels van Velzen
e1c0fe055b Update Android build tools to version 4.0.0 2020-05-30 10:24:57 +02:00
Niels van Velzen
dfe4dbe74e Add androidx.fragment as direct dependency, update androidx.preference & update kotlin/android plugins 2020-04-15 21:28:10 +02:00
Niels van Velzen
efe7a50b36 Upgrade Kotlin to 1.3.70 2020-03-03 21:08:41 +01:00
Niels van Velzen
c9bfd90c08 Upgrade Android Gradle build tools to version 3.6.0 (latest) 2020-02-26 20:17:28 +01:00
Niels van Velzen
3ea37fd033 Update android gradle build tools version 2020-02-09 22:00:38 +01:00
Niels van Velzen
48875980f6 Convert Gradle files to Kotlin 2020-02-09 22:00:37 +01:00