Skip to content

Commit

Permalink
Update dependencies, sdk and java version
Browse files Browse the repository at this point in the history
  • Loading branch information
eltos committed Nov 4, 2023
1 parent 1e0d532 commit eca263b
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:8.1.2'

// Required plugins added to classpath to facilitate pushing to maven
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
8 changes: 5 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.enableJetifier=true
android.useAndroidX=true
android.useAndroidX=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Dec 11 12:30:21 CET 2019
#Sat Nov 04 11:57:33 CET 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
9 changes: 2 additions & 7 deletions lintchecks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ apply plugin: 'com.android.lint'

dependencies {
// If the Gradle plugin version is X.Y.Z, then the Lint library version is X+23.Y.Z
compileOnly 'com.android.tools.lint:lint-api:30.3.0'
compileOnly 'com.android.tools.lint:lint-checks:30.3.0'
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileOnly 'com.android.tools.lint:lint-api:31.1.2'
compileOnly 'com.android.tools.lint:lint-checks:31.1.2'
}

jar {
Expand Down
16 changes: 11 additions & 5 deletions simpledialogfragments/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.library'

android {
compileSdk 33
namespace 'eltos.simpledialogfragment'

compileSdk 34

defaultConfig {
minSdkVersion 14
targetSdkVersion 33
versionCode rootProject.ext['VERSION_NR']
versionName rootProject.ext['VERSION']
targetSdkVersion 34
}
buildTypes {
release {
Expand All @@ -20,6 +20,12 @@ android {
checkDependencies true
disable 'MissingTranslation'
}
publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}
}

dependencies {
Expand All @@ -29,7 +35,7 @@ dependencies {

testImplementation 'junit:junit:4.13.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.alimuzaffar.lib:pinentryedittext:2.0.6'
}
Expand Down
3 changes: 1 addition & 2 deletions simpledialogfragments/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eltos.simpledialogfragment">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application>

Expand Down
17 changes: 6 additions & 11 deletions testApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ plugins {
}

android {
compileSdk 33
namespace 'eltos.simpledialogfragments'

compileSdk 34

defaultConfig {
applicationId 'eltos.simpledialogfragments.test'
minSdkVersion 14
targetSdkVersion 33
targetSdkVersion 34
versionCode rootProject.ext['VERSION_NR']
versionName rootProject.ext['VERSION']
}
Expand All @@ -19,13 +21,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}

repositories {
Expand All @@ -36,9 +31,9 @@ repositories {
dependencies {
testImplementation 'junit:junit:4.13.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation 'com.google.zxing:core:3.5.0'
implementation 'com.google.zxing:core:3.5.2'

// sonatype maven
//implementation 'io.github.eltos:simpledialogfragments:3.5.1'
Expand Down
3 changes: 1 addition & 2 deletions testApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eltos.simpledialogfragments">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.GET_ACCOUNTS" />

Expand Down

0 comments on commit eca263b

Please sign in to comment.