diff --git a/SECURITY.pv b/SECURITY.pv new file mode 100644 index 000000000..9fc27cdf1 --- /dev/null +++ b/SECURITY.pv @@ -0,0 +1,5 @@ +# Security Policy + +##not Supported Versions + +#keep privare diff --git a/app/build.gradle b/app/build.gradle index 0be4b114d..864504475 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,13 +2,11 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' -apply plugin: 'com.getkeepsafe.dexcount' apply plugin: 'jacoco' apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion project.targetSdkVersion - buildToolsVersion project.buildToolsVersion defaultConfig { minSdkVersion project.minSdkVersion @@ -22,6 +20,10 @@ android { lightningLite.setRoot('src/LightningLite') } + buildFeatures { + viewBinding true + } + buildTypes { debug { multiDexEnabled true @@ -70,55 +72,49 @@ android { versionCode 102 } } - - lintOptions { - abortOnError true - } - packagingOptions { - exclude '.readme' + resources { + excludes += ['.readme'] + } } + + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + lint { + abortOnError true + } } jacoco { toolVersion = '0.7.9' // See http://www.eclemma.org/jacoco/ } -dexcount { - includeClasses = false - includeFieldCount = false - format = "tree" - orderByMethodCount = true - verbose = false -} - dependencies { // multidex debug debugImplementation 'androidx.multidex:multidex:2.0.1' // test dependencies - testImplementation 'junit:junit:4.13' - testImplementation 'org.assertj:assertj-core:3.17.2' - testImplementation 'org.mockito:mockito-core:3.5.10' + testImplementation 'junit:junit:4.13.2' + testImplementation 'org.assertj:assertj-core:3.20.2' + testImplementation 'org.mockito:mockito-core:3.11.2' testImplementation 'com.nhaarman:mockito-kotlin:1.6.0', { exclude group: 'org.jetbrains.kotlin' } testImplementation 'org.robolectric:robolectric:4.4' // support libraries - implementation "androidx.palette:palette:1.0.0" - implementation "androidx.annotation:annotation:1.1.0" + implementation "androidx.palette:palette-ktx:1.0.0" + implementation "androidx.annotation:annotation:1.2.0" implementation "androidx.vectordrawable:vectordrawable-animated:1.1.0" - implementation "androidx.appcompat:appcompat:1.2.0" - implementation "com.google.android.material:material:1.2.1" - implementation "androidx.recyclerview:recyclerview:1.1.0" - implementation "androidx.core:core:1.3.1" - implementation "androidx.constraintlayout:constraintlayout:2.0.1" - implementation "androidx.fragment:fragment:1.2.5" + implementation "androidx.appcompat:appcompat:1.3.1" + implementation "com.google.android.material:material:1.4.0" + implementation "androidx.recyclerview:recyclerview:1.2.1" + implementation 'androidx.core:core-ktx:1.7.0-alpha01' + implementation "androidx.constraintlayout:constraintlayout:2.0.4" + implementation "androidx.fragment:fragment-ktx:1.3.6" implementation "androidx.drawerlayout:drawerlayout:1.1.1" // html parsing for reading mode @@ -130,13 +126,13 @@ dependencies { kapt "com.anthonycr.mezzanine:mezzanine-compiler:$mezzanineVersion" // dependency injection - final def daggerVersion = '2.29' + final def daggerVersion = '2.38' implementation "com.google.dagger:dagger:$daggerVersion" kapt "com.google.dagger:dagger-compiler:$daggerVersion" compileOnly 'javax.annotation:jsr250-api:1.0' // view binding - final def butterKnifeVersion = '10.2.1' + final def butterKnifeVersion = '10.2.3' implementation "com.jakewharton:butterknife:$butterKnifeVersion" kapt "com.jakewharton:butterknife-compiler:$butterKnifeVersion" @@ -151,7 +147,7 @@ dependencies { // rx implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' - implementation 'io.reactivex.rxjava2:rxjava:2.2.19' + implementation 'io.reactivex.rxjava2:rxjava:2.2.21' implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0' // tor proxy @@ -168,7 +164,6 @@ dependencies { // kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" - implementation 'androidx.core:core-ktx:1.5.0-alpha02' } kapt { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 07f408930..d8bef9469 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -48,12 +48,11 @@ android:value="2.1"/> @@ -139,14 +138,13 @@ diff --git a/app/src/main/html/bookmarks.html b/app/src/main/html/bookmarks.html index cbfc0e4c6..4c2ae7aec 100644 --- a/app/src/main/html/bookmarks.html +++ b/app/src/main/html/bookmarks.html @@ -11,13 +11,19 @@ diff --git a/app/src/main/html/homepage.html b/app/src/main/html/homepage.html index 312735545..f3c8ae0e2 100644 --- a/app/src/main/html/homepage.html +++ b/app/src/main/html/homepage.html @@ -2,17 +2,28 @@ - - - + + + ${TITLE} -
-
-
- -
-
-