diff options
Diffstat (limited to 'app')
28 files changed, 86 insertions, 87 deletions
diff --git a/app/build.gradle b/app/build.gradle index 4fc04ae..5ef4f4a 100644 --- a/app/build.gradle +++ b/app/build.gradle | |||
@@ -30,13 +30,12 @@ def keystoreProperties = new Properties() | |||
30 | if (keystoreAvailable) keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) | 30 | if (keystoreAvailable) keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) |
31 | 31 | ||
32 | android { | 32 | android { |
33 | compileSdkVersion 27 | 33 | compileSdkVersion 29 |
34 | 34 | ||
35 | defaultConfig { | 35 | defaultConfig { |
36 | applicationId 'org.pacien.tincapp' | 36 | applicationId 'org.pacien.tincapp' |
37 | minSdkVersion 21 | 37 | minSdkVersion 21 |
38 | //noinspection OldTargetApi | 38 | targetSdkVersion 28 // FIXME: bad file descriptor in daemon when targeting 29 |
39 | targetSdkVersion 27 | ||
40 | multiDexEnabled true | 39 | multiDexEnabled true |
41 | versionCode 28 | 40 | versionCode 28 |
42 | versionName '0.28' | 41 | versionName '0.28' |
@@ -78,17 +77,17 @@ dependencies { | |||
78 | 77 | ||
79 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | 78 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
80 | implementation 'net.sourceforge.streamsupport:streamsupport-cfuture:1.7.0' | 79 | implementation 'net.sourceforge.streamsupport:streamsupport-cfuture:1.7.0' |
81 | implementation 'android.arch.lifecycle:extensions:1.1.1' | 80 | implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0' |
82 | implementation 'com.android.support:support-compat:27.1.1' | 81 | implementation 'androidx.core:core:1.1.0' |
83 | implementation 'com.android.support:design:27.1.1' | 82 | implementation 'com.google.android.material:material:1.0.0' |
84 | implementation 'com.journeyapps:zxing-android-embedded:3.6.0' | 83 | implementation 'com.journeyapps:zxing-android-embedded:3.6.0' |
85 | implementation 'org.bouncycastle:bcpkix-jdk15on:1.61' | 84 | implementation 'org.bouncycastle:bcpkix-jdk15on:1.61' |
86 | implementation 'org.slf4j:slf4j-api:1.7.26' | 85 | implementation 'org.slf4j:slf4j-api:1.7.26' |
87 | implementation 'com.github.tony19:logback-android:2.0.0' | 86 | implementation 'com.github.tony19:logback-android:2.0.0' |
88 | // commons-configuration2:2.4 requires support for interface default methods, not available on SDK <24 | 87 | // commons-configuration2:2.4 requires support for interface default methods, not available on SDK <24 |
89 | implementation('org.apache.commons:commons-configuration2:2.3') { exclude group: 'commons-logging', module: 'commons-logging' } | 88 | implementation 'org.apache.commons:commons-configuration2:2.3' |
90 | implementation('commons-beanutils:commons-beanutils:1.9.3') { exclude group: 'commons-logging', module: 'commons-logging' } | 89 | implementation 'commons-beanutils:commons-beanutils:1.9.3' |
91 | implementation('commons-io:commons-io:2.6') { exclude group: 'commons-logging', module: 'commons-logging' } | 90 | implementation 'commons-io:commons-io:2.6' |
92 | } | 91 | } |
93 | 92 | ||
94 | repositories { | 93 | repositories { |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt index 196ccd3..37eef88 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -20,11 +20,11 @@ package org.pacien.tincapp.activities | |||
20 | 20 | ||
21 | import android.content.Intent | 21 | import android.content.Intent |
22 | import android.os.Bundle | 22 | import android.os.Bundle |
23 | import android.support.annotation.LayoutRes | 23 | import androidx.annotation.LayoutRes |
24 | import android.support.annotation.StringRes | 24 | import androidx.annotation.StringRes |
25 | import android.support.design.widget.Snackbar | 25 | import com.google.android.material.snackbar.Snackbar |
26 | import android.support.v7.app.AlertDialog | 26 | import androidx.appcompat.app.AlertDialog |
27 | import android.support.v7.app.AppCompatActivity | 27 | import androidx.appcompat.app.AppCompatActivity |
28 | import android.view.* | 28 | import android.view.* |
29 | import kotlinx.android.synthetic.main.base_activity.* | 29 | import kotlinx.android.synthetic.main.base_activity.* |
30 | import org.pacien.tincapp.R | 30 | import org.pacien.tincapp.R |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt index ae82fe7..1811c0c 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseDialogFragment.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -19,8 +19,8 @@ | |||
19 | package org.pacien.tincapp.activities | 19 | package org.pacien.tincapp.activities |
20 | 20 | ||
21 | import android.content.Context | 21 | import android.content.Context |
22 | import android.support.annotation.LayoutRes | 22 | import androidx.annotation.LayoutRes |
23 | import android.support.v4.app.DialogFragment | 23 | import androidx.fragment.app.DialogFragment |
24 | import android.view.LayoutInflater | 24 | import android.view.LayoutInflater |
25 | import android.view.View | 25 | import android.view.View |
26 | import android.view.ViewGroup | 26 | import android.view.ViewGroup |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt index 44f57c7..6f0e5f9 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseFragment.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | package org.pacien.tincapp.activities | 19 | package org.pacien.tincapp.activities |
20 | 20 | ||
21 | import android.support.annotation.LayoutRes | 21 | import androidx.annotation.LayoutRes |
22 | import android.support.v4.app.Fragment | 22 | import androidx.fragment.app.Fragment |
23 | import android.view.LayoutInflater | 23 | import android.view.LayoutInflater |
24 | import android.view.View | 24 | import android.view.View |
25 | import android.view.ViewGroup | 25 | import android.view.ViewGroup |
diff --git a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt index c55e889..7603fa7 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/common/FragmentListPagerAdapter.kt | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 2 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
3 | * Copyright (C) 2017-2018 Pacien TRAN-GIRARD | 3 | * Copyright (C) 2017-2019 Pacien TRAN-GIRARD |
4 | * | 4 | * |
5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | package org.pacien.tincapp.activities.common | 19 | package org.pacien.tincapp.activities.common |
20 | 20 | ||
21 | import android.support.v4.app.FragmentManager | 21 | import androidx.fragment.app.FragmentManager |
22 | import android.support.v4.app.FragmentPagerAdapter | 22 | import androidx.fragment.app.FragmentPagerAdapter |
23 | import org.pacien.tincapp.activities.BaseFragment | 23 | import org.pacien.tincapp.activities.BaseFragment |