Skip to content

Commit

Permalink
gradle plugin migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Feb 28, 2024
1 parent 9058eb0 commit cc77086
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ android {
}

ndkVersion "21.3.6528147"
namespace 'hpsaturn.pollutionreporter'

}

Expand All @@ -55,7 +56,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.6.1'
implementation "androidx.preference:preference:1.2.0"
implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.multidex:multidex:2.0.1'

implementation 'com.jakewharton:butterknife:10.2.3'
Expand Down
3 changes: 1 addition & 2 deletions app/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="hpsaturn.pollutionreporter">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Expand Down
8 changes: 7 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ withoutDevice=false
env="prod"
####################################################

org.gradle.jvmargs=-Xmx3096m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx3096m -Dfile.encoding=UTF-8 \
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

mCompileSdkVersion=33
mMinSdkVersion=23
Expand All @@ -17,3 +20,6 @@ android.useAndroidX=true
android.enableJetifier=true

canairio.signing=/opt/.signing/canairio/canairio
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

0 comments on commit cc77086

Please sign in to comment.