File tree Expand file tree Collapse file tree 8 files changed +15
-4
lines changed
java/com/google/android/samples/dynamicfeatures/ondemand
java/com/google/android/samples/dynamicfeatures/ondemand
java/com/google/android/samples/dynamicfeatures/ondemand Expand file tree Collapse file tree 8 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ android {
29
29
versionName " 1.0"
30
30
}
31
31
32
+ buildTypes {
33
+ debug {}
34
+ release {
35
+ minifyEnabled true
36
+ }
37
+ }
38
+
32
39
compileOptions {
33
40
sourceCompatibility = ' 1.8'
34
41
targetCompatibility = ' 1.8'
Original file line number Diff line number Diff line change 18
18
<!-- This feature module only contains a single assets file relevant to the Android app. -->
19
19
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
20
20
xmlns : dist =" http://schemas.android.com/apk/distribution"
21
- package =" com.google.android.samples.dynamicfeatures.ondemand"
21
+ package =" com.google.android.samples.dynamicfeatures.ondemand.assets "
22
22
split =" assets" >
23
23
24
24
<dist : module
Original file line number Diff line number Diff line change 17
17
18
18
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
19
19
xmlns : dist =" http://schemas.android.com/apk/distribution"
20
- package =" com.google.android.samples.dynamicfeatures.ondemand"
20
+ package =" com.google.android.samples.dynamicfeatures.ondemand.java "
21
21
split =" java" >
22
22
23
23
<dist : module
Original file line number Diff line number Diff line change 18
18
19
19
import android .os .Bundle ;
20
20
import com .google .android .samples .dynamicfeatures .BaseSplitActivity ;
21
+ import com .google .android .samples .dynamicfeatures .ondemand .java .R ;
22
+
21
23
import androidx .annotation .Nullable ;
22
24
23
25
/** A simple activity displaying text written in Java. */
Original file line number Diff line number Diff line change 17
17
18
18
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
19
19
xmlns : dist =" http://schemas.android.com/apk/distribution"
20
- package =" com.google.android.samples.dynamicfeatures.ondemand"
20
+ package =" com.google.android.samples.dynamicfeatures.ondemand.kotlin "
21
21
split =" kotlin" >
22
22
23
23
<dist : module
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package com.google.android.samples.dynamicfeatures.ondemand
18
18
19
19
import android.os.Bundle
20
20
import com.google.android.samples.dynamicfeatures.BaseSplitActivity
21
+ import com.google.android.samples.dynamicfeatures.ondemand.kotlin.R
21
22
22
23
/* * A simple Activity displaying some text, written in Kotlin. */
23
24
class KotlinSampleActivity : BaseSplitActivity () {
Original file line number Diff line number Diff line change 17
17
18
18
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
19
19
xmlns : dist =" http://schemas.android.com/apk/distribution"
20
- package =" com.google.android.samples.dynamicfeatures.ondemand"
20
+ package =" com.google.android.samples.dynamicfeatures.ondemand.ccode "
21
21
split =" native" >
22
22
23
23
<dist : module
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import android.os.Bundle
20
20
import android.widget.TextView
21
21
import com.google.android.play.core.splitinstall.SplitInstallHelper
22
22
import com.google.android.samples.dynamicfeatures.BaseSplitActivity
23
+ import com.google.android.samples.dynamicfeatures.ondemand.ccode.R
23
24
24
25
/* * A simple activity displaying some text coming through via JNI. */
25
26
class NativeSampleActivity : BaseSplitActivity () {
You can’t perform that action at this time.
0 commit comments