Commit Graph

33 Commits

Author SHA1 Message Date
tzugen 66443ba018
Remove Jacoco 2022-06-16 16:40:59 +02:00
Nite 5962cc2add
Merge branch 'develop' into dependabot/gradle/versions.kotlin-1.6.10
Added temporary fix for Koin bug
2022-02-08 18:18:58 +01:00
tzugen 5a02467ee8
Use binding 2021-12-22 13:36:47 +01:00
tzugen 4a996f8edc
Fix Scroll in MainFragment 2021-12-22 13:26:58 +01:00
tzugen 1eca5a756e
Use new toml file for version declaration 2021-12-20 21:59:57 +01:00
tzugen bc43cc6874
Update Gradle config to remove deprecated attrs.
Deactivate xml reporting (not used currently)
2021-10-13 19:06:42 +02:00
tzugen dbdb59bbff
Add a Room database for Artists, Indexes and MusicFolders.
* There is one database for each Server
* Index items are saved with a "musicFolderId" prop, which makes it possible to filter the database by musicFolder without necessarily having to query the server for it.
* Databases for new Servers are created on the fly
* If the user removes a server, the respective database is deleted.
2021-06-29 18:01:26 +02:00
tzugen f9401ba1fa
Apply JVM Target to all Kotlin tasks 2021-05-28 19:21:50 +02:00
tzugen 689b704bc5
Enable parallel AST generation 2021-05-20 18:16:55 +02:00
tzugen 8a2d100e96
Migrate ciTest to "Task Configuration Avoidance" 2021-05-06 20:33:38 +02:00
tzugen af304cd10f
Fix Jacoco under Gradle 7.0,
by migrating the task to use "Task Configuration Avoidance"
see https://docs.gradle.org/current/userguide/task_configuration_avoidance.html
2021-05-06 20:33:38 +02:00
tzugen 410e1df980
Upgrade detekt to v1.16.0 to get Type Resolution support
In course I had to modify the rules (many were renamed or dropped),
and create a new baseline (many new rules added errors in old files)
2021-04-23 11:26:15 +02:00
tzugen d0ad8cef7d
Remove deprecated kotlin-android-extension plugin 2021-04-19 12:21:42 +02:00
tzugen b5806cbbbf
Set language level 1.8 correctly also to Kotlin compiler,
removed unused variables.
2021-04-19 12:21:36 +02:00
tzugen 42967ef45f
Remove warning about deprecated 'variant.getGenerateBuildConfig()' 2021-04-18 22:18:41 +02:00
Nite a22984566a
Trying to fix CI error 2020-08-24 13:59:40 +02:00
Nite c23616e57a
Trying to fix CI error 2020-08-24 12:10:34 +02:00
Nite de7eaef668
Updated Gradle to 6.5
Tried to satisfy ktlint rules
2020-06-13 19:04:31 +02:00
Nite f4ae87fffe
Migrated to Androidx 2020-04-26 12:05:28 +02:00
Yahor Berdnikau 2e008c7ed6 Fix slightly wrong jacoco setup. 2018-10-07 21:21:49 +02:00
Yahor Berdnikau 3371b4025d Improve Jacoco setup. 2018-10-07 21:05:48 +02:00
Yahor Berdnikau 21bcb5429a Use JUnit5 engine to run unit tests in android modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau f422ba30b9 Use JUnit5 engine to run unit tests in kotlin modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau eb59e3ccc1 Add common configuration for android modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 8f65b37605 Add common configuration for kotlin modules. 2018-10-07 20:50:56 +02:00
Yahor Berdnikau 501015c649 Rework jacoco report generation for android projects.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 6f6e2470d8 Enable jacoco coverage for subsonic-api-image-loader module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 1e806e3658 Added cache module to code coverage reports.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-11 11:56:38 +01:00
Yahor Berdnikau e59acc880e Update ktlint to 0.15.1 version.
Also update gradle plugin to 3.0.1 version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-25 22:19:56 +01:00
Yahor Berdnikau c917bcb1a6 Update ktlint to 0.12.1 version.
Also updated ktlint-gradle to 2.3.0 version. Added ktlint reports to
circle CI.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:04:38 +01:00
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau 07c2bfaeaf Add detekt - static code analysis tool for Kotlin.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:22:13 +02:00
Yahor Berdnikau 2d3316964a Add ktlint check.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:31:33 +02:00