Skip to content

Commit

Permalink
Updated build tools and Android CI
Browse files Browse the repository at this point in the history
Signed-off-by: sunilpaulmathew <[email protected]>
  • Loading branch information
sunilpaulmathew committed Dec 7, 2023
1 parent f13008b commit 13ad76a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Change wrapper permissions
run: chmod +x ./gradlew
Expand Down
17 changes: 10 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ android {
}

namespace 'com.smartpack.packagemanager'
compileSdkVersion 33
buildToolsVersion '30.0.3'
compileSdk 34

defaultConfig {
applicationId "com.smartpack.packagemanager"
minSdkVersion 23
targetSdkVersion 33
targetSdkVersion 34
versionCode 70
versionName "v7.0"
vectorDrawables.useSupportLibrary = true
Expand All @@ -41,7 +40,11 @@ android {
}
}

flavorDimensions "release"
buildFeatures {
buildConfig = true
}

flavorDimensions.add("release")
productFlavors {
play {
dimension "release"
Expand All @@ -56,7 +59,7 @@ android {
}

dependencies {
playImplementation 'com.android.billingclient:billing:6.0.0'
playImplementation 'com.android.billingclient:billing:6.1.0'
implementation 'com.github.apk-editor:aXML:8458ba5aee'

def sCommon_Version = 'aa1019da38'
Expand All @@ -69,8 +72,8 @@ dependencies {
implementation "com.github.sunilpaulmathew.sCommon:translatorutils:${sCommon_Version}"

implementation "com.github.topjohnwu.libsu:core:4.0.3"
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'
implementation "dev.rikka.shizuku:api:12.1.0"
implementation "dev.rikka.shizuku:provider:12.1.0"
implementation 'net.lingala.zip4j:zip4j:2.11.3'
implementation 'net.lingala.zip4j:zip4j:2.11.5'
}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.android.tools.build:gradle:8.2.0'
}
}

Expand All @@ -20,6 +20,6 @@ allprojects {
}
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ org.gradle.jvmargs=-Xmx2048m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=false
org.gradle.unsafe.configuration-cache=true
org.gradle.unsafe.configuration-cache=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip

0 comments on commit 13ad76a

Please sign in to comment.