Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
OmGodse committed Aug 9, 2021
1 parent 5a6d8e3 commit d6439ca
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 19 deletions.
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Contributing

Issues are currently disabled.

Please use the pull requests tab only for translations or bug fixes.
11 changes: 3 additions & 8 deletions Post/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ plugins {
}

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdk rootProject.ext.minSdkVersion
targetSdk rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
Expand All @@ -20,8 +19,4 @@ android {
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
2 changes: 1 addition & 1 deletion Post/src/main/java/com/omgodse/post/PostPDFGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class PostPDFGenerator private constructor(

private var onResult: OnResult? = null

fun setFile(file: File?) = apply { this.file = file }
fun setFile(file: File) = apply { this.file = file }

fun setContent(content: String) = apply { this.content = content }

Expand Down
13 changes: 5 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ plugins {
}

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion

defaultConfig {
applicationId "com.omgodse.notally"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 34
versionName "3.9"
minSdk rootProject.ext.minSdkVersion
targetSdk rootProject.ext.targetSdkVersion
versionCode 35
versionName "4.0"
resConfigs "en", "ca", "cs", "de", "es", "fr", "hu", "in", "it", "ja", "nb", "nl", "pl", "pt-rBR", "ru", "sk", "sv", "tl", "tr", "uk"
vectorDrawables.generatedDensities = []
}
Expand Down Expand Up @@ -43,8 +42,6 @@ dependencies {
final def navVersion = "2.3.5"
final def roomVersion = "2.3.0"

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"

implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"

Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">

<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ buildscript {
targetSdkVersion = 30
compileSdkVersion = 30
kotlinVersion = "1.5.21"
buildToolsVersion = "30.0.3"
}

repositories {
Expand All @@ -14,7 +13,7 @@ buildscript {
}

dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath "com.android.tools.build:gradle:7.0.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
Expand Down

0 comments on commit d6439ca

Please sign in to comment.