Skip to content

Commit

Permalink
New release with updated dependencies and tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
erickok committed Dec 8, 2023
1 parent 20845ca commit c031275
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ However, larger and new features will be developed in their own branch.
Code structure
==============

Starting with version 2.3.0, Transdroid is developed in Android Studio, fully integrating with the Gradle build system.
It is (since version 2.5.21) compiled against Android 12 (API level 31) and (since version 2.2.0) supporting Android ICS (API level 15) and up only.
Transdroid is (since version 2.5.23) compiled against Android 14 (API level 34) and (since version 2.5.23) supporting Android 5 (API level 21) and up only.
To support lite (Transdrone, specially for the Play Store) and full (Transdroid) versions of the app, build flavours are defined in gradle, which contain version-specific resources.
Dependencies are managed via JCentral et al. in the app's build.gradle file.

Expand All @@ -59,7 +58,7 @@ Contributions by various others (see commit log).
License
=======

Copyright 2010-2022 Eric Kok et al.
Copyright 2010-2023 Eric Kok et al.

Transdroid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
20 changes: 10 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 33
compileSdk 34

defaultConfig {
minSdkVersion 21
targetSdkVersion 33
versionCode 242
versionName '2.5.22'
targetSdkVersion 34
versionCode 243
versionName '2.5.23'

javaCompileOptions {
annotationProcessorOptions {
Expand Down Expand Up @@ -80,10 +80,10 @@ android {

dependencies {
// Android support
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.preference:preference:1.2.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.google.android.material:material:1.7.0'
implementation 'com.google.android.material:material:1.10.0'

// Other
implementation 'org.androidannotations:androidannotations-api:4.8.0'
Expand All @@ -97,9 +97,9 @@ dependencies {
implementation('com.github.afollestad.material-dialogs:core:0.9.6.0@aar') {
transitive = true
}
implementation 'androidx.work:work-runtime:2.7.1'
implementation "androidx.lifecycle:lifecycle-viewmodel:2.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation 'androidx.work:work-runtime:2.9.0'
implementation "androidx.lifecycle:lifecycle-viewmodel:2.6.2"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2"

annotationProcessor 'org.androidannotations:androidannotations:4.8.0'
annotationProcessor 'org.androidannotations:ormlite:4.8.0'
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
-dontobfuscate

-keep class org.transdroid.core.gui.log.ErrorLogEntry { *; }
-dontwarn javax.persistence.**
8 changes: 7 additions & 1 deletion app/src/main/res/values/changelog.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><!--
Copyright 2010-2018 Eric Kok et al.
Copyright 2010-2023 Eric Kok et al.
Transdroid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -16,6 +16,12 @@
-->
<resources>
<string name="system_changelog">
Transdroid 2.5.23\n
- Updated min (Android 5) and target API for Play Store compatibility\n
- Updated dependencies and tooling\n
- qBittorrent add label and fixed updating of label\n
- Vanilla rTorrent delete with data fix\n
\n
Transdroid 2.5.22\n
- Re-authentication on qBittorrent for lingering connections\n
- Fix background notifications not showing\n
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.android.tools.build:gradle:8.1.4'
}
}

Expand Down
16 changes: 4 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Settings specified in this file will override any Gradle settings
# configured through the IDE.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# 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=-Xmx3072M
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion latest-app.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
242|2.5.22
243|2.5.23

0 comments on commit c031275

Please sign in to comment.