From 4b6946a19536fd76bfb284909e109804d0ebfdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Garci=CC=81a=20de=20Prada?= Date: Tue, 13 Oct 2020 10:42:40 +0200 Subject: [PATCH] Update dependencies and perform a little cleanup --- build.gradle | 5 ++--- owncloudComLibrary/build.gradle | 6 ------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index f51df2b2..07767bc9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { ext { - kotlinVersion = '1.3.72' + kotlinVersion = '1.4.10' moshiVersion = "1.9.2" } @@ -9,9 +9,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.0.1' + classpath 'com.android.tools.build:gradle:4.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" - classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion" } } diff --git a/owncloudComLibrary/build.gradle b/owncloudComLibrary/build.gradle index 8aac2c83..6db1f790 100644 --- a/owncloudComLibrary/build.gradle +++ b/owncloudComLibrary/build.gradle @@ -1,7 +1,6 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' -apply plugin: 'kotlin-allopen' dependencies { api 'com.squareup.okhttp3:okhttp:4.6.0' @@ -17,11 +16,6 @@ dependencies { kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion" } -allOpen { - // allows mocking for classes w/o directly opening them for release builds - annotation 'com.owncloud.android.lib.testing.OpenClass' -} - android { compileSdkVersion 29