@@ -19,56 +19,56 @@ def bundleInDebug = hasProperty("bundleInDebug") && Boolean.valueOf(property("bu
19
19
def useDevSupport = ! bundleInDebug
20
20
21
21
project. ext. react = [
22
- // The name of the generated asset file containing your JS bundle
23
- // bundleAssetName: "index.android.bundle",
22
+ // The name of the generated asset file containing your JS bundle
23
+ // bundleAssetName: "index.android.bundle",
24
24
25
- // The entry file for bundle generation
26
- // entryFile: "index.android.js",
25
+ // The entry file for bundle generation
26
+ // entryFile: "index.android.js",
27
27
28
- // Whether to bundle JS and assets in debug mode. Set this to false if you want to load
29
- // JavaScript from a bundler, true if you want to embed the bundle in the apk.
30
- // Do not change it here; change the property value in gradle.properties instead.
31
- bundleInDebug : bundleInDebug,
28
+ // Whether to bundle JS and assets in debug mode. Set this to false if you want to load
29
+ // JavaScript from a bundler, true if you want to embed the bundle in the apk.
30
+ // Do not change it here; change the property value in gradle.properties instead.
31
+ bundleInDebug : bundleInDebug,
32
32
33
- // Whether to bundle JS and assets in release mode
34
- bundleInRelease : true ,
33
+ // Whether to bundle JS and assets in release mode
34
+ bundleInRelease : true ,
35
35
36
- // Whether to bundle JS and assets in another build variant (if configured).
37
- // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
38
- // The configuration property can be in the following formats
39
- // 'bundleIn${productFlavor}${buildType}'
40
- // 'bundleIn${buildType}'
41
- // bundleInBeta: true,
36
+ // Whether to bundle JS and assets in another build variant (if configured).
37
+ // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
38
+ // The configuration property can be in the following formats
39
+ // 'bundleIn${productFlavor}${buildType}'
40
+ // 'bundleIn${buildType}'
41
+ // bundleInBeta: true,
42
42
43
- // The root of your project, i.e. where "package.json" lives
44
- // root: "../../",
43
+ // The root of your project, i.e. where "package.json" lives
44
+ // root: "../../",
45
45
46
- // Where to put the JS bundle asset in debug mode
47
- // jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
46
+ // Where to put the JS bundle asset in debug mode
47
+ // jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48
48
49
- // Where to put the JS bundle asset in release mode
50
- // jsBundleDirRelease: "$buildDir/intermediates/assets/release",
49
+ // Where to put the JS bundle asset in release mode
50
+ // jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51
51
52
- // Where to put drawable resources / React Native assets, e.g. the ones you use via
53
- // require('./image.png')), in debug mode
54
- // resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
52
+ // Where to put drawable resources / React Native assets, e.g. the ones you use via
53
+ // require('./image.png')), in debug mode
54
+ // resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55
55
56
- // Where to put drawable resources / React Native assets, e.g. the ones you use via
57
- // require('./image.png')), in release mode
58
- // resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
56
+ // Where to put drawable resources / React Native assets, e.g. the ones you use via
57
+ // require('./image.png')), in release mode
58
+ // resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59
59
60
- // By default the gradle tasks are skipped if none of the JS files or assets change; this means
61
- // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62
- // date; if you have any other folders that you want to ignore for performance reasons (gradle
63
- // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64
- // for example, you might want to remove it from here.
65
- // inputExcludes: ["android/**", "ios/**"],
60
+ // By default the gradle tasks are skipped if none of the JS files or assets change; this means
61
+ // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62
+ // date; if you have any other folders that you want to ignore for performance reasons (gradle
63
+ // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64
+ // for example, you might want to remove it from here.
65
+ // inputExcludes: ["android/**", "ios/**"],
66
66
67
- // Override which node gets called and with what additional arguments
68
- // nodeExecutableAndArgs: ["node"],
67
+ // Override which node gets called and with what additional arguments
68
+ // nodeExecutableAndArgs: ["node"],
69
69
70
- // Supply additional arguments to the packager
71
- // extraPackagerArgs: []
70
+ // Supply additional arguments to the packager
71
+ // extraPackagerArgs: []
72
72
]
73
73
74
74
apply from : " ../../node_modules/react-native/react.gradle"
0 commit comments