Skip to content

Commit fd257fa

Browse files
committed
Fix more sample app gradle config
1 parent ee1e16e commit fd257fa

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

sample/sample-app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ affectedTestConfiguration {
1313
android {
1414
namespace "com.dropbox.detector.sample"
1515

16-
compileSdkVersion 34
17-
buildToolsVersion "30.0.2"
16+
compileSdk 34
1817

1918
defaultConfig {
2019
applicationId "com.dropbox.detector.sample"

sample/sample-app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
android:roundIcon="@mipmap/ic_launcher_round"
99
android:supportsRtl="true"
1010
android:theme="@style/Theme.Sample">
11-
<activity android:name="com.dropbox.detector.sample.MainActivity">
11+
<activity android:name="com.dropbox.detector.sample.MainActivity"
12+
android:exported="true">
1213
<intent-filter>
1314
<action android:name="android.intent.action.MAIN" />
1415

sample/sample-core/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ affectedTestConfiguration {
1111
}
1212

1313
android {
14-
compileSdkVersion 30
15-
buildToolsVersion "30.0.2"
14+
namespace "com.dropbox.detector.sample_core"
15+
16+
compileSdk 34
1617

1718
defaultConfig {
1819
minSdkVersion 23
19-
targetSdkVersion 30
20+
targetSdkVersion 34
2021
versionCode 1
2122
versionName "1.0"
2223

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.dropbox.detector.sample_core">
2+
<manifest>
43

54
</manifest>
65

sample/sample-jvm-module/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ plugins {
66
java {
77
sourceCompatibility = JavaVersion.VERSION_11
88
targetCompatibility = JavaVersion.VERSION_11
9+
}
10+
11+
kotlin {
12+
jvmToolchain(11)
913
}

sample/sample-util/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ affectedTestConfiguration {
1010
}
1111

1212
android {
13-
compileSdkVersion 30
14-
buildToolsVersion "30.0.2"
13+
namespace "com.dropbox.detector.sample_util"
14+
compileSdk 34
1515

1616
defaultConfig {
1717
minSdkVersion 23
18-
targetSdkVersion 30
18+
targetSdkVersion 34
1919
versionCode 1
2020
versionName "1.0"
2121

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.dropbox.detector.sample_util">
2+
<manifest>
43

54
</manifest>

0 commit comments

Comments
 (0)