Skip to content

Commit

Permalink
fix multidex compile
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Oct 10, 2023
1 parent 64a2b98 commit eca8783
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ allprojects {
}
}
dependencies {
implementation 'com.github.pedroSG94.RootEncoder:library:2.2.9'
implementation 'com.github.pedroSG94.RootEncoder:library:2.3.0'
}
```
Expand Down
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ android {
targetSdkVersion 34
versionCode version_code
versionName version_name
multiDexEnabled true
}
buildTypes {
release {
Expand All @@ -35,4 +36,5 @@ dependencies {
implementation project(':library')
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.android.material:material:1.10.0'
implementation "androidx.multidex:multidex:2.0.1"
}
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"/>

<application
android:name=".App"
android:requestLegacyExternalStorage="true"
android:usesCleartextTraffic="true"
android:allowBackup="true"
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/java/com/pedro/streamer/App.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.pedro.streamer

import androidx.multidex.MultiDexApplication

/**
* Created by pedro on 10/10/23.
*/
class App: MultiDexApplication()
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apply plugin: 'org.jetbrains.dokka'
buildscript {
ext.kotlin_version = '1.9.10'
ext.library_group = "com.github.pedroSG94"
ext.version_code = 229
ext.version_name = "2.2.9"
ext.version_code = 230
ext.version_name = "2.3.0"

repositories {
google()
Expand Down

0 comments on commit eca8783

Please sign in to comment.