Commit Graph

38 Commits

Author SHA1 Message Date
Yahor Berdnikau 697a689632 Decrease target sdk version to 22.
This is required for a new release as runtime permissions support is not yet implemented.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-20 11:27:34 +01:00
Yahor Berdnikau c84482729d Add versioning plugin.
This will allow to easy automate auto publishing of the app.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-27 21:38:40 +01:00
Yahor Berdnikau b5c0fa10f3 Update kotlin to 1.2.10 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 07802e9206 Update KtLint to 0.14.0 version.
Also fix style problems.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 11c1b92098 Update Detekt to 1.0.0.RC6 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau c76ffe4db7 Update android plugin to 3.0.1 version.
Yay!

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 0943276a50 Update gradle wrapper to 4.4.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:41 +01:00
Yahor Berdnikau f528ad8845 Bump target api level to 23.
Also set compile sdk level to 27 and android support libs version to
23.4.0.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:54:01 +01:00
Yahor Berdnikau e838750ee2 Add proxy password interceptor.
It passes request chain either to hex password interceptor or
to md5+salt interceptor depending on current protocol version.
2017-12-02 21:51:26 +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 f7b1140b2c Update detekt to 1.0.0.RC5-4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:49:53 +01:00
Yahor Berdnikau deb734c8e5 Update gradle wrapper to 4.3.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:40:35 +01:00
Yahor Berdnikau 1fbcddc233 Update kotlin to 1.1.60 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:23:18 +01:00
Yahor Berdnikau be75511bb7 Update okhttp to 3.9.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-19 22:27:45 +02:00
Yahor Berdnikau 351f51df28 Update gradle to 4.2.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-07 20:59:16 +02:00
Yahor Berdnikau bd7e7416a6 Update kotlin to 1.1.51 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-07 20:46:53 +02:00
Yahor Berdnikau 7210eb448b Update kotlin to 1.1.4-3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-30 21:57:17 +02:00
Yahor Berdnikau a1e59efceb Update gradle to 4.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 21:47:22 +02:00
Yahor Berdnikau f54ecd29fb Update kotlin to 1.1.4-2 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 2b484ad667 Update kotlin to 1.1.4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:00:57 +02:00
Yahor Berdnikau d66556e307 Update kotlin to 1.1.3-2 version.
Also have to update jackson to 2.9.0 that uses the same kotlin version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:17:32 +02:00
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau 8d09f8ff49 Update gradle to 3.5 version.
Also added a task to update wrapper version through gradle run.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:50:12 +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
Yahor Berdnikau f1ab0a3e0c Add using new authentication method since 1.13.0.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-23 20:03:25 +02:00
Yahor Berdnikau 20d95ce19d Add optional logging to SubsonicAPI.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:49:26 +02:00
Yahor Berdnikau 24d68fcf3c Revert back to compile api 22.
Some used classes are missing in the newest sdk like FloatMath and apache http client.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:19:38 +02:00
Yahor Berdnikau f686ebfb16 Update kotlin and android dependencies. 2017-07-19 17:02:47 +02:00
Yahor Berdnikau cfa90e0a8d Switched to using Jackson for json parsing.
Also changed how response is parsed, allowing base response has different models to parse.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +02:00
Yahor Berdnikau 0dd01d18ba Base implementation of Subsonic API in Kotlin. 2017-07-19 17:02:47 +02:00
Óscar García Amor 7c484f78ec Updated version 2017-02-06 19:36:24 +01:00
Yahor Berdnikau 9f23778bf7 Move app settings to PreferenceFragment.
That allows display Material theme also in preferences.
2017-02-05 14:46:22 +01:00
Yahor Berdnikau 9ce1f288c0 Change app theme to Theme.AppCompat.
This changes main app theme to Material theme from support library.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-04 23:18:02 +01:00
Óscar García Amor 07e2d3baf0 Set gradle and sdk to latest version 2017-01-15 12:36:08 +01:00
Egor Berdnikov 91fc11d771 Bump target version to 22.
Can't bump to 25 because several classes uses removed api.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-01-14 23:56:35 +01:00
Egor Berdnikov 472386bb05 Update gradle wrapper and android gradle plugin.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-01-14 23:56:28 +01:00
Egor Berdnikov 95b20b486d Move all dependencies to standalone file.
This allows better and easier versioning management across modules

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-01-14 23:56:12 +01:00