@liascript/exporter 2.4.1--0.10.8 → 2.4.2--0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +29 -13
- package/package.json +1 -1
- package/src/export/android.ts +46 -26
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/jarRepositories.xml +0 -30
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/runConfigurations.xml +0 -10
- package/android/app/build/.npmkeep +0 -0
- package/android/app/build.gradle +0 -51
- package/android/app/capacitor.build.gradle +0 -19
- package/android/app/proguard-rules.pro +0 -21
- package/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
- package/android/app/src/main/AndroidManifest.xml +0 -41
- package/android/app/src/main/assets/capacitor.config.json +0 -6
- package/android/app/src/main/assets/capacitor.plugins.json +0 -1
- package/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
- package/android/app/src/main/res/drawable/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
- package/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
- package/android/app/src/main/res/layout/activity_main.xml +0 -12
- package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
- package/android/app/src/main/res/values/strings.xml +0 -7
- package/android/app/src/main/res/values/styles.xml +0 -22
- package/android/app/src/main/res/xml/config.xml +0 -6
- package/android/app/src/main/res/xml/file_paths.xml +0 -5
- package/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
- package/android/build.gradle +0 -29
- package/android/capacitor.settings.gradle +0 -3
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradle.properties +0 -24
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/android/settings.gradle +0 -5
- package/android/variables.gradle +0 -14
- package/output.pdf +0 -0
package/dist/index.js
CHANGED
|
@@ -12750,9 +12750,9 @@ async function $3eed299f4b9e5004$export$372e2d09604f52f0(argument, json) {
|
|
|
12750
12750
|
"build": "npx cap add android"
|
|
12751
12751
|
},
|
|
12752
12752
|
"dependencies": {
|
|
12753
|
-
"@capacitor-community/text-to-speech": "^1.1.
|
|
12754
|
-
"@capacitor/android": "^3.
|
|
12755
|
-
"@capacitor/cli": "^3.
|
|
12753
|
+
"@capacitor-community/text-to-speech": "^1.1.3",
|
|
12754
|
+
"@capacitor/android": "^3.5.1",
|
|
12755
|
+
"@capacitor/cli": "^3.5.1",
|
|
12756
12756
|
"capacitor-resources": "^2.0.5"
|
|
12757
12757
|
},
|
|
12758
12758
|
"engines": {
|
|
@@ -12767,12 +12767,22 @@ async function $3eed299f4b9e5004$export$372e2d09604f52f0(argument, json) {
|
|
|
12767
12767
|
console.warn(e);
|
|
12768
12768
|
return;
|
|
12769
12769
|
}
|
|
12770
|
-
|
|
12770
|
+
console.warn('WWWWWWWWWWWWWWWW', $9Afec$path.join(tmpPath, '../android'));
|
|
12771
|
+
$3eed299f4b9e5004$var$execute([
|
|
12772
|
+
'npm i',
|
|
12773
|
+
'npm update',
|
|
12774
|
+
'npx cap add android',
|
|
12775
|
+
`npx capacitor-resources -p "android" ${argument['android-icon'] ? '--icon ' + $9Afec$path.resolve(argument['android-icon']) : ''} ${argument['android-splash'] ? '--splash ' + $9Afec$path.resolve(argument['android-splash']) : ''}`,
|
|
12776
|
+
], $9Afec$path.join(tmpPath, '..'), async function() {
|
|
12771
12777
|
await $3eed299f4b9e5004$var$sdk(tmpPath, argument['android-sdk']);
|
|
12772
|
-
if (argument['android-preview']) $3eed299f4b9e5004$var$execute(
|
|
12778
|
+
if (argument['android-preview']) $3eed299f4b9e5004$var$execute([
|
|
12779
|
+
'npx cap open android'
|
|
12780
|
+
], $9Afec$path.join(tmpPath, '..'), ()=>{
|
|
12773
12781
|
console.log('ready');
|
|
12774
12782
|
});
|
|
12775
|
-
else $3eed299f4b9e5004$var$execute(
|
|
12783
|
+
else $3eed299f4b9e5004$var$execute([
|
|
12784
|
+
'./gradlew assembleDebug'
|
|
12785
|
+
], $9Afec$path.join(tmpPath, '../android'), function() {
|
|
12776
12786
|
console.warn('DONE');
|
|
12777
12787
|
$9Afec$fsextra.copy($9Afec$path.join(tmpPath, '../android/app/build/outputs/apk/debug/app-debug.apk'), argument.output + '.apk');
|
|
12778
12788
|
});
|
|
@@ -12787,13 +12797,19 @@ async function $3eed299f4b9e5004$var$sdk(tmpPath, uri) {
|
|
|
12787
12797
|
return;
|
|
12788
12798
|
}
|
|
12789
12799
|
}
|
|
12790
|
-
function $3eed299f4b9e5004$var$execute(
|
|
12791
|
-
|
|
12792
|
-
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
12796
|
-
|
|
12800
|
+
function $3eed299f4b9e5004$var$execute(cmds, cwd, callback) {
|
|
12801
|
+
const cmd = cmds.shift();
|
|
12802
|
+
if (cmd) {
|
|
12803
|
+
console.log('exec:', cmd);
|
|
12804
|
+
$3eed299f4b9e5004$require$exec(cmd, {
|
|
12805
|
+
cwd: cwd
|
|
12806
|
+
}, async (error, stdout, stderr)=>{
|
|
12807
|
+
if (error) console.warn(`error: ${error.message}`);
|
|
12808
|
+
if (stderr) console.warn(`stderr: ${stderr}`);
|
|
12809
|
+
console.log(`stdout: ${stdout}`);
|
|
12810
|
+
$3eed299f4b9e5004$var$execute(cmds, cwd, callback);
|
|
12811
|
+
});
|
|
12812
|
+
} else callback();
|
|
12797
12813
|
}
|
|
12798
12814
|
|
|
12799
12815
|
|
package/package.json
CHANGED
package/src/export/android.ts
CHANGED
|
@@ -82,9 +82,9 @@ export async function exporter(
|
|
|
82
82
|
"build": "npx cap add android"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@capacitor-community/text-to-speech": "^1.1.
|
|
86
|
-
"@capacitor/android": "^3.
|
|
87
|
-
"@capacitor/cli": "^3.
|
|
85
|
+
"@capacitor-community/text-to-speech": "^1.1.3",
|
|
86
|
+
"@capacitor/android": "^3.5.1",
|
|
87
|
+
"@capacitor/cli": "^3.5.1",
|
|
88
88
|
"capacitor-resources": "^2.0.5"
|
|
89
89
|
},
|
|
90
90
|
"engines": {
|
|
@@ -109,26 +109,39 @@ export async function exporter(
|
|
|
109
109
|
return
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
console.warn('WWWWWWWWWWWWWWWW', path.join(tmpPath, '../android'))
|
|
112
113
|
execute(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
114
|
+
[
|
|
115
|
+
'npm i',
|
|
116
|
+
'npm update',
|
|
117
|
+
'npx cap add android',
|
|
118
|
+
`npx capacitor-resources -p "android" ${
|
|
119
|
+
argument['android-icon']
|
|
120
|
+
? '--icon ' + path.resolve(argument['android-icon'])
|
|
121
|
+
: ''
|
|
122
|
+
} ${
|
|
123
|
+
argument['android-splash']
|
|
124
|
+
? '--splash ' + path.resolve(argument['android-splash'])
|
|
125
|
+
: ''
|
|
126
|
+
}`,
|
|
127
|
+
],
|
|
128
|
+
path.join(tmpPath, '..'),
|
|
122
129
|
async function () {
|
|
123
130
|
await sdk(tmpPath, argument['android-sdk'])
|
|
124
131
|
|
|
125
132
|
if (argument['android-preview']) {
|
|
126
|
-
execute(
|
|
127
|
-
|
|
128
|
-
|
|
133
|
+
execute(
|
|
134
|
+
['npx cap open android'],
|
|
135
|
+
path.join(tmpPath, '..'),
|
|
136
|
+
|
|
137
|
+
() => {
|
|
138
|
+
console.log('ready')
|
|
139
|
+
}
|
|
140
|
+
)
|
|
129
141
|
} else {
|
|
130
142
|
execute(
|
|
131
|
-
|
|
143
|
+
['./gradlew assembleDebug'],
|
|
144
|
+
path.join(tmpPath, '../android'),
|
|
132
145
|
function () {
|
|
133
146
|
console.warn('DONE')
|
|
134
147
|
fs.copy(
|
|
@@ -159,16 +172,23 @@ async function sdk(tmpPath: string, uri?: string) {
|
|
|
159
172
|
}
|
|
160
173
|
}
|
|
161
174
|
|
|
162
|
-
function execute(
|
|
163
|
-
|
|
164
|
-
if (error) {
|
|
165
|
-
console.log(`error: ${error.message}`)
|
|
166
|
-
}
|
|
167
|
-
if (stderr) {
|
|
168
|
-
console.log(`stderr: ${stderr}`)
|
|
169
|
-
}
|
|
170
|
-
console.log(`stdout: ${stdout}`)
|
|
175
|
+
function execute(cmds: string[], cwd: string, callback) {
|
|
176
|
+
const cmd = cmds.shift()
|
|
171
177
|
|
|
178
|
+
if (cmd) {
|
|
179
|
+
console.log('exec:', cmd)
|
|
180
|
+
exec(cmd, { cwd: cwd }, async (error, stdout, stderr) => {
|
|
181
|
+
if (error) {
|
|
182
|
+
console.warn(`error: ${error.message}`)
|
|
183
|
+
}
|
|
184
|
+
if (stderr) {
|
|
185
|
+
console.warn(`stderr: ${stderr}`)
|
|
186
|
+
}
|
|
187
|
+
console.log(`stdout: ${stdout}`)
|
|
188
|
+
|
|
189
|
+
execute(cmds, cwd, callback)
|
|
190
|
+
})
|
|
191
|
+
} else {
|
|
172
192
|
callback()
|
|
173
|
-
}
|
|
193
|
+
}
|
|
174
194
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
-
<remote-repository>
|
|
5
|
-
<option name="id" value="central" />
|
|
6
|
-
<option name="name" value="Maven Central repository" />
|
|
7
|
-
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
-
</remote-repository>
|
|
9
|
-
<remote-repository>
|
|
10
|
-
<option name="id" value="jboss.community" />
|
|
11
|
-
<option name="name" value="JBoss Community repository" />
|
|
12
|
-
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
-
</remote-repository>
|
|
14
|
-
<remote-repository>
|
|
15
|
-
<option name="id" value="BintrayJCenter" />
|
|
16
|
-
<option name="name" value="BintrayJCenter" />
|
|
17
|
-
<option name="url" value="https://jcenter.bintray.com/" />
|
|
18
|
-
</remote-repository>
|
|
19
|
-
<remote-repository>
|
|
20
|
-
<option name="id" value="Google" />
|
|
21
|
-
<option name="name" value="Google" />
|
|
22
|
-
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
23
|
-
</remote-repository>
|
|
24
|
-
<remote-repository>
|
|
25
|
-
<option name="id" value="MavenRepo" />
|
|
26
|
-
<option name="name" value="MavenRepo" />
|
|
27
|
-
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
|
28
|
-
</remote-repository>
|
|
29
|
-
</component>
|
|
30
|
-
</project>
|
package/android/.idea/misc.xml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
|
4
|
-
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ProjectType">
|
|
7
|
-
<option name="id" value="Android" />
|
|
8
|
-
</component>
|
|
9
|
-
</project>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RunConfigurationProducerService">
|
|
4
|
-
<option name="ignoredProducers">
|
|
5
|
-
<set>
|
|
6
|
-
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
|
7
|
-
</set>
|
|
8
|
-
</option>
|
|
9
|
-
</component>
|
|
10
|
-
</project>
|
|
File without changes
|
package/android/app/build.gradle
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
apply plugin: 'com.android.application'
|
|
2
|
-
|
|
3
|
-
android {
|
|
4
|
-
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
5
|
-
defaultConfig {
|
|
6
|
-
applicationId "org.liascript.app"
|
|
7
|
-
minSdkVersion rootProject.ext.minSdkVersion
|
|
8
|
-
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
9
|
-
versionCode 1
|
|
10
|
-
versionName "1.0"
|
|
11
|
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
12
|
-
aaptOptions {
|
|
13
|
-
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
|
14
|
-
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
|
15
|
-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
buildTypes {
|
|
19
|
-
release {
|
|
20
|
-
minifyEnabled false
|
|
21
|
-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
repositories {
|
|
27
|
-
flatDir{
|
|
28
|
-
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
dependencies {
|
|
33
|
-
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
34
|
-
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
35
|
-
implementation project(':capacitor-android')
|
|
36
|
-
testImplementation "junit:junit:$junitVersion"
|
|
37
|
-
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
38
|
-
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
39
|
-
implementation project(':capacitor-cordova-android-plugins')
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
apply from: 'capacitor.build.gradle'
|
|
43
|
-
|
|
44
|
-
try {
|
|
45
|
-
def servicesJSON = file('google-services.json')
|
|
46
|
-
if (servicesJSON.text) {
|
|
47
|
-
apply plugin: 'com.google.gms.google-services'
|
|
48
|
-
}
|
|
49
|
-
} catch(Exception e) {
|
|
50
|
-
logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
|
|
51
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
2
|
-
|
|
3
|
-
android {
|
|
4
|
-
compileOptions {
|
|
5
|
-
sourceCompatibility JavaVersion.VERSION_1_8
|
|
6
|
-
targetCompatibility JavaVersion.VERSION_1_8
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
11
|
-
dependencies {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
if (hasProperty('postBuildExtras')) {
|
|
18
|
-
postBuildExtras()
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Add project specific ProGuard rules here.
|
|
2
|
-
# You can control the set of applied configuration files using the
|
|
3
|
-
# proguardFiles setting in build.gradle.
|
|
4
|
-
#
|
|
5
|
-
# For more details, see
|
|
6
|
-
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
7
|
-
|
|
8
|
-
# If your project uses WebView with JS, uncomment the following
|
|
9
|
-
# and specify the fully qualified class name to the JavaScript interface
|
|
10
|
-
# class:
|
|
11
|
-
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
12
|
-
# public *;
|
|
13
|
-
#}
|
|
14
|
-
|
|
15
|
-
# Uncomment this to preserve the line number information for
|
|
16
|
-
# debugging stack traces.
|
|
17
|
-
#-keepattributes SourceFile,LineNumberTable
|
|
18
|
-
|
|
19
|
-
# If you keep the line number information, uncomment this to
|
|
20
|
-
# hide the original source file name.
|
|
21
|
-
#-renamesourcefileattribute SourceFile
|
package/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
package com.getcapacitor.myapp;
|
|
2
|
-
|
|
3
|
-
import static org.junit.Assert.*;
|
|
4
|
-
|
|
5
|
-
import android.content.Context;
|
|
6
|
-
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
|
7
|
-
import androidx.test.platform.app.InstrumentationRegistry;
|
|
8
|
-
import org.junit.Test;
|
|
9
|
-
import org.junit.runner.RunWith;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Instrumented test, which will execute on an Android device.
|
|
13
|
-
*
|
|
14
|
-
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
|
15
|
-
*/
|
|
16
|
-
@RunWith(AndroidJUnit4.class)
|
|
17
|
-
public class ExampleInstrumentedTest {
|
|
18
|
-
|
|
19
|
-
@Test
|
|
20
|
-
public void useAppContext() throws Exception {
|
|
21
|
-
// Context of the app under test.
|
|
22
|
-
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
|
23
|
-
|
|
24
|
-
assertEquals("com.getcapacitor.app", appContext.getPackageName());
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="org.liascript.app">
|
|
4
|
-
|
|
5
|
-
<application
|
|
6
|
-
android:allowBackup="true"
|
|
7
|
-
android:icon="@mipmap/ic_launcher"
|
|
8
|
-
android:label="@string/app_name"
|
|
9
|
-
android:roundIcon="@mipmap/ic_launcher_round"
|
|
10
|
-
android:supportsRtl="true"
|
|
11
|
-
android:theme="@style/AppTheme">
|
|
12
|
-
|
|
13
|
-
<activity
|
|
14
|
-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
|
|
15
|
-
android:name="org.liascript.app.MainActivity"
|
|
16
|
-
android:label="@string/title_activity_main"
|
|
17
|
-
android:theme="@style/AppTheme.NoActionBarLaunch"
|
|
18
|
-
android:launchMode="singleTask">
|
|
19
|
-
|
|
20
|
-
<intent-filter>
|
|
21
|
-
<action android:name="android.intent.action.MAIN" />
|
|
22
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
23
|
-
</intent-filter>
|
|
24
|
-
|
|
25
|
-
</activity>
|
|
26
|
-
|
|
27
|
-
<provider
|
|
28
|
-
android:name="androidx.core.content.FileProvider"
|
|
29
|
-
android:authorities="${applicationId}.fileprovider"
|
|
30
|
-
android:exported="false"
|
|
31
|
-
android:grantUriPermissions="true">
|
|
32
|
-
<meta-data
|
|
33
|
-
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
34
|
-
android:resource="@xml/file_paths"></meta-data>
|
|
35
|
-
</provider>
|
|
36
|
-
</application>
|
|
37
|
-
|
|
38
|
-
<!-- Permissions -->
|
|
39
|
-
|
|
40
|
-
<uses-permission android:name="android.permission.INTERNET" />
|
|
41
|
-
</manifest>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportHeight="108"
|
|
6
|
-
android:viewportWidth="108">
|
|
7
|
-
<path
|
|
8
|
-
android:fillColor="#26A69A"
|
|
9
|
-
android:pathData="M0,0h108v108h-108z" />
|
|
10
|
-
<path
|
|
11
|
-
android:fillColor="#00000000"
|
|
12
|
-
android:pathData="M9,0L9,108"
|
|
13
|
-
android:strokeColor="#33FFFFFF"
|
|
14
|
-
android:strokeWidth="0.8" />
|
|
15
|
-
<path
|
|
16
|
-
android:fillColor="#00000000"
|
|
17
|
-
android:pathData="M19,0L19,108"
|
|
18
|
-
android:strokeColor="#33FFFFFF"
|
|
19
|
-
android:strokeWidth="0.8" />
|
|
20
|
-
<path
|
|
21
|
-
android:fillColor="#00000000"
|
|
22
|
-
android:pathData="M29,0L29,108"
|
|
23
|
-
android:strokeColor="#33FFFFFF"
|
|
24
|
-
android:strokeWidth="0.8" />
|
|
25
|
-
<path
|
|
26
|
-
android:fillColor="#00000000"
|
|
27
|
-
android:pathData="M39,0L39,108"
|
|
28
|
-
android:strokeColor="#33FFFFFF"
|
|
29
|
-
android:strokeWidth="0.8" />
|
|
30
|
-
<path
|
|
31
|
-
android:fillColor="#00000000"
|
|
32
|
-
android:pathData="M49,0L49,108"
|
|
33
|
-
android:strokeColor="#33FFFFFF"
|
|
34
|
-
android:strokeWidth="0.8" />
|
|
35
|
-
<path
|
|
36
|
-
android:fillColor="#00000000"
|
|
37
|
-
android:pathData="M59,0L59,108"
|
|
38
|
-
android:strokeColor="#33FFFFFF"
|
|
39
|
-
android:strokeWidth="0.8" />
|
|
40
|
-
<path
|
|
41
|
-
android:fillColor="#00000000"
|
|
42
|
-
android:pathData="M69,0L69,108"
|
|
43
|
-
android:strokeColor="#33FFFFFF"
|
|
44
|
-
android:strokeWidth="0.8" />
|
|
45
|
-
<path
|
|
46
|
-
android:fillColor="#00000000"
|
|
47
|
-
android:pathData="M79,0L79,108"
|
|
48
|
-
android:strokeColor="#33FFFFFF"
|
|
49
|
-
android:strokeWidth="0.8" />
|
|
50
|
-
<path
|
|
51
|
-
android:fillColor="#00000000"
|
|
52
|
-
android:pathData="M89,0L89,108"
|
|
53
|
-
android:strokeColor="#33FFFFFF"
|
|
54
|
-
android:strokeWidth="0.8" />
|
|
55
|
-
<path
|
|
56
|
-
android:fillColor="#00000000"
|
|
57
|
-
android:pathData="M99,0L99,108"
|
|
58
|
-
android:strokeColor="#33FFFFFF"
|
|
59
|
-
android:strokeWidth="0.8" />
|
|
60
|
-
<path
|
|
61
|
-
android:fillColor="#00000000"
|
|
62
|
-
android:pathData="M0,9L108,9"
|
|
63
|
-
android:strokeColor="#33FFFFFF"
|
|
64
|
-
android:strokeWidth="0.8" />
|
|
65
|
-
<path
|
|
66
|
-
android:fillColor="#00000000"
|
|
67
|
-
android:pathData="M0,19L108,19"
|
|
68
|
-
android:strokeColor="#33FFFFFF"
|
|
69
|
-
android:strokeWidth="0.8" />
|
|
70
|
-
<path
|
|
71
|
-
android:fillColor="#00000000"
|
|
72
|
-
android:pathData="M0,29L108,29"
|
|
73
|
-
android:strokeColor="#33FFFFFF"
|
|
74
|
-
android:strokeWidth="0.8" />
|
|
75
|
-
<path
|
|
76
|
-
android:fillColor="#00000000"
|
|
77
|
-
android:pathData="M0,39L108,39"
|
|
78
|
-
android:strokeColor="#33FFFFFF"
|
|
79
|
-
android:strokeWidth="0.8" />
|
|
80
|
-
<path
|
|
81
|
-
android:fillColor="#00000000"
|
|
82
|
-
android:pathData="M0,49L108,49"
|
|
83
|
-
android:strokeColor="#33FFFFFF"
|
|
84
|
-
android:strokeWidth="0.8" />
|
|
85
|
-
<path
|
|
86
|
-
android:fillColor="#00000000"
|
|
87
|
-
android:pathData="M0,59L108,59"
|
|
88
|
-
android:strokeColor="#33FFFFFF"
|
|
89
|
-
android:strokeWidth="0.8" />
|
|
90
|
-
<path
|
|
91
|
-
android:fillColor="#00000000"
|
|
92
|
-
android:pathData="M0,69L108,69"
|
|
93
|
-
android:strokeColor="#33FFFFFF"
|
|
94
|
-
android:strokeWidth="0.8" />
|
|
95
|
-
<path
|
|
96
|
-
android:fillColor="#00000000"
|
|
97
|
-
android:pathData="M0,79L108,79"
|
|
98
|
-
android:strokeColor="#33FFFFFF"
|
|
99
|
-
android:strokeWidth="0.8" />
|
|
100
|
-
<path
|
|
101
|
-
android:fillColor="#00000000"
|
|
102
|
-
android:pathData="M0,89L108,89"
|
|
103
|
-
android:strokeColor="#33FFFFFF"
|
|
104
|
-
android:strokeWidth="0.8" />
|
|
105
|
-
<path
|
|
106
|
-
android:fillColor="#00000000"
|
|
107
|
-
android:pathData="M0,99L108,99"
|
|
108
|
-
android:strokeColor="#33FFFFFF"
|
|
109
|
-
android:strokeWidth="0.8" />
|
|
110
|
-
<path
|
|
111
|
-
android:fillColor="#00000000"
|
|
112
|
-
android:pathData="M19,29L89,29"
|
|
113
|
-
android:strokeColor="#33FFFFFF"
|
|
114
|
-
android:strokeWidth="0.8" />
|
|
115
|
-
<path
|
|
116
|
-
android:fillColor="#00000000"
|
|
117
|
-
android:pathData="M19,39L89,39"
|
|
118
|
-
android:strokeColor="#33FFFFFF"
|
|
119
|
-
android:strokeWidth="0.8" />
|
|
120
|
-
<path
|
|
121
|
-
android:fillColor="#00000000"
|
|
122
|
-
android:pathData="M19,49L89,49"
|
|
123
|
-
android:strokeColor="#33FFFFFF"
|
|
124
|
-
android:strokeWidth="0.8" />
|
|
125
|
-
<path
|
|
126
|
-
android:fillColor="#00000000"
|
|
127
|
-
android:pathData="M19,59L89,59"
|
|
128
|
-
android:strokeColor="#33FFFFFF"
|
|
129
|
-
android:strokeWidth="0.8" />
|
|
130
|
-
<path
|
|
131
|
-
android:fillColor="#00000000"
|
|
132
|
-
android:pathData="M19,69L89,69"
|
|
133
|
-
android:strokeColor="#33FFFFFF"
|
|
134
|
-
android:strokeWidth="0.8" />
|
|
135
|
-
<path
|
|
136
|
-
android:fillColor="#00000000"
|
|
137
|
-
android:pathData="M19,79L89,79"
|
|
138
|
-
android:strokeColor="#33FFFFFF"
|
|
139
|
-
android:strokeWidth="0.8" />
|
|
140
|
-
<path
|
|
141
|
-
android:fillColor="#00000000"
|
|
142
|
-
android:pathData="M29,19L29,89"
|
|
143
|
-
android:strokeColor="#33FFFFFF"
|
|
144
|
-
android:strokeWidth="0.8" />
|
|
145
|
-
<path
|
|
146
|
-
android:fillColor="#00000000"
|
|
147
|
-
android:pathData="M39,19L39,89"
|
|
148
|
-
android:strokeColor="#33FFFFFF"
|
|
149
|
-
android:strokeWidth="0.8" />
|
|
150
|
-
<path
|
|
151
|
-
android:fillColor="#00000000"
|
|
152
|
-
android:pathData="M49,19L49,89"
|
|
153
|
-
android:strokeColor="#33FFFFFF"
|
|
154
|
-
android:strokeWidth="0.8" />
|
|
155
|
-
<path
|
|
156
|
-
android:fillColor="#00000000"
|
|
157
|
-
android:pathData="M59,19L59,89"
|
|
158
|
-
android:strokeColor="#33FFFFFF"
|
|
159
|
-
android:strokeWidth="0.8" />
|
|
160
|
-
<path
|
|
161
|
-
android:fillColor="#00000000"
|
|
162
|
-
android:pathData="M69,19L69,89"
|
|
163
|
-
android:strokeColor="#33FFFFFF"
|
|
164
|
-
android:strokeWidth="0.8" />
|
|
165
|
-
<path
|
|
166
|
-
android:fillColor="#00000000"
|
|
167
|
-
android:pathData="M79,19L79,89"
|
|
168
|
-
android:strokeColor="#33FFFFFF"
|
|
169
|
-
android:strokeWidth="0.8" />
|
|
170
|
-
</vector>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
xmlns:aapt="http://schemas.android.com/aapt"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportHeight="108"
|
|
6
|
-
android:viewportWidth="108">
|
|
7
|
-
<path
|
|
8
|
-
android:fillType="evenOdd"
|
|
9
|
-
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
|
10
|
-
android:strokeColor="#00000000"
|
|
11
|
-
android:strokeWidth="1">
|
|
12
|
-
<aapt:attr name="android:fillColor">
|
|
13
|
-
<gradient
|
|
14
|
-
android:endX="78.5885"
|
|
15
|
-
android:endY="90.9159"
|
|
16
|
-
android:startX="48.7653"
|
|
17
|
-
android:startY="61.0927"
|
|
18
|
-
android:type="linear">
|
|
19
|
-
<item
|
|
20
|
-
android:color="#44000000"
|
|
21
|
-
android:offset="0.0" />
|
|
22
|
-
<item
|
|
23
|
-
android:color="#00000000"
|
|
24
|
-
android:offset="1.0" />
|
|
25
|
-
</gradient>
|
|
26
|
-
</aapt:attr>
|
|
27
|
-
</path>
|
|
28
|
-
<path
|
|
29
|
-
android:fillColor="#FFFFFF"
|
|
30
|
-
android:fillType="nonZero"
|
|
31
|
-
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
|
32
|
-
android:strokeColor="#00000000"
|
|
33
|
-
android:strokeWidth="1" />
|
|
34
|
-
</vector>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
4
|
-
xmlns:tools="http://schemas.android.com/tools"
|
|
5
|
-
android:layout_width="match_parent"
|
|
6
|
-
android:layout_height="match_parent"
|
|
7
|
-
tools:context=".MainActivity">
|
|
8
|
-
|
|
9
|
-
<WebView
|
|
10
|
-
android:layout_width="match_parent"
|
|
11
|
-
android:layout_height="match_parent" />
|
|
12
|
-
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<resources>
|
|
3
|
-
<string name="app_name">LiaScript</string>
|
|
4
|
-
<string name="title_activity_main">LiaScript</string>
|
|
5
|
-
<string name="package_name">org.liascript.app</string>
|
|
6
|
-
<string name="custom_url_scheme">org.liascript.app</string>
|
|
7
|
-
</resources>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<resources>
|
|
3
|
-
|
|
4
|
-
<!-- Base application theme. -->
|
|
5
|
-
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
|
6
|
-
<!-- Customize your theme here. -->
|
|
7
|
-
<item name="colorPrimary">@color/colorPrimary</item>
|
|
8
|
-
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
9
|
-
<item name="colorAccent">@color/colorAccent</item>
|
|
10
|
-
</style>
|
|
11
|
-
|
|
12
|
-
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.NoActionBar">
|
|
13
|
-
<item name="windowActionBar">false</item>
|
|
14
|
-
<item name="windowNoTitle">true</item>
|
|
15
|
-
<item name="android:background">@null</item>
|
|
16
|
-
</style>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<style name="AppTheme.NoActionBarLaunch" parent="AppTheme.NoActionBar">
|
|
20
|
-
<item name="android:background">@drawable/splash</item>
|
|
21
|
-
</style>
|
|
22
|
-
</resources>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
package com.getcapacitor.myapp;
|
|
2
|
-
|
|
3
|
-
import static org.junit.Assert.*;
|
|
4
|
-
|
|
5
|
-
import org.junit.Test;
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Example local unit test, which will execute on the development machine (host).
|
|
9
|
-
*
|
|
10
|
-
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
|
11
|
-
*/
|
|
12
|
-
public class ExampleUnitTest {
|
|
13
|
-
|
|
14
|
-
@Test
|
|
15
|
-
public void addition_isCorrect() throws Exception {
|
|
16
|
-
assertEquals(4, 2 + 2);
|
|
17
|
-
}
|
|
18
|
-
}
|
package/android/build.gradle
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
2
|
-
|
|
3
|
-
buildscript {
|
|
4
|
-
|
|
5
|
-
repositories {
|
|
6
|
-
google()
|
|
7
|
-
jcenter()
|
|
8
|
-
}
|
|
9
|
-
dependencies {
|
|
10
|
-
classpath 'com.android.tools.build:gradle:4.2.1'
|
|
11
|
-
classpath 'com.google.gms:google-services:4.3.5'
|
|
12
|
-
|
|
13
|
-
// NOTE: Do not place your application dependencies here; they belong
|
|
14
|
-
// in the individual module build.gradle files
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
apply from: "variables.gradle"
|
|
19
|
-
|
|
20
|
-
allprojects {
|
|
21
|
-
repositories {
|
|
22
|
-
google()
|
|
23
|
-
jcenter()
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
task clean(type: Delete) {
|
|
28
|
-
delete rootProject.buildDir
|
|
29
|
-
}
|
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Project-wide Gradle settings.
|
|
2
|
-
|
|
3
|
-
# IDE (e.g. Android Studio) users:
|
|
4
|
-
# Gradle settings configured through the IDE *will override*
|
|
5
|
-
# any settings specified in this file.
|
|
6
|
-
|
|
7
|
-
# For more details on how to configure your build environment visit
|
|
8
|
-
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
-
|
|
10
|
-
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
-
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
-
org.gradle.jvmargs=-Xmx1536m
|
|
13
|
-
|
|
14
|
-
# When configured, Gradle will run in incubating parallel mode.
|
|
15
|
-
# This option should only be used with decoupled projects. More details, visit
|
|
16
|
-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
17
|
-
# org.gradle.parallel=true
|
|
18
|
-
|
|
19
|
-
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
20
|
-
# Android operating system, and which are packaged with your app's APK
|
|
21
|
-
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
22
|
-
android.useAndroidX=true
|
|
23
|
-
# Automatically convert third-party libraries to use AndroidX
|
|
24
|
-
android.enableJetifier=true
|
package/android/gradlew
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# Copyright 2015 the original author or authors.
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
##############################################################################
|
|
20
|
-
##
|
|
21
|
-
## Gradle start up script for UN*X
|
|
22
|
-
##
|
|
23
|
-
##############################################################################
|
|
24
|
-
|
|
25
|
-
# Attempt to set APP_HOME
|
|
26
|
-
# Resolve links: $0 may be a link
|
|
27
|
-
PRG="$0"
|
|
28
|
-
# Need this for relative symlinks.
|
|
29
|
-
while [ -h "$PRG" ] ; do
|
|
30
|
-
ls=`ls -ld "$PRG"`
|
|
31
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
32
|
-
if expr "$link" : '/.*' > /dev/null; then
|
|
33
|
-
PRG="$link"
|
|
34
|
-
else
|
|
35
|
-
PRG=`dirname "$PRG"`"/$link"
|
|
36
|
-
fi
|
|
37
|
-
done
|
|
38
|
-
SAVED="`pwd`"
|
|
39
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
40
|
-
APP_HOME="`pwd -P`"
|
|
41
|
-
cd "$SAVED" >/dev/null
|
|
42
|
-
|
|
43
|
-
APP_NAME="Gradle"
|
|
44
|
-
APP_BASE_NAME=`basename "$0"`
|
|
45
|
-
|
|
46
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
47
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
48
|
-
|
|
49
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
50
|
-
MAX_FD="maximum"
|
|
51
|
-
|
|
52
|
-
warn () {
|
|
53
|
-
echo "$*"
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
die () {
|
|
57
|
-
echo
|
|
58
|
-
echo "$*"
|
|
59
|
-
echo
|
|
60
|
-
exit 1
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
# OS specific support (must be 'true' or 'false').
|
|
64
|
-
cygwin=false
|
|
65
|
-
msys=false
|
|
66
|
-
darwin=false
|
|
67
|
-
nonstop=false
|
|
68
|
-
case "`uname`" in
|
|
69
|
-
CYGWIN* )
|
|
70
|
-
cygwin=true
|
|
71
|
-
;;
|
|
72
|
-
Darwin* )
|
|
73
|
-
darwin=true
|
|
74
|
-
;;
|
|
75
|
-
MINGW* )
|
|
76
|
-
msys=true
|
|
77
|
-
;;
|
|
78
|
-
NONSTOP* )
|
|
79
|
-
nonstop=true
|
|
80
|
-
;;
|
|
81
|
-
esac
|
|
82
|
-
|
|
83
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
# Determine the Java command to use to start the JVM.
|
|
87
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
88
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
89
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
90
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
91
|
-
else
|
|
92
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
93
|
-
fi
|
|
94
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
95
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
96
|
-
|
|
97
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
98
|
-
location of your Java installation."
|
|
99
|
-
fi
|
|
100
|
-
else
|
|
101
|
-
JAVACMD="java"
|
|
102
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
103
|
-
|
|
104
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
105
|
-
location of your Java installation."
|
|
106
|
-
fi
|
|
107
|
-
|
|
108
|
-
# Increase the maximum file descriptors if we can.
|
|
109
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
|
110
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
|
111
|
-
if [ $? -eq 0 ] ; then
|
|
112
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
113
|
-
MAX_FD="$MAX_FD_LIMIT"
|
|
114
|
-
fi
|
|
115
|
-
ulimit -n $MAX_FD
|
|
116
|
-
if [ $? -ne 0 ] ; then
|
|
117
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
118
|
-
fi
|
|
119
|
-
else
|
|
120
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
121
|
-
fi
|
|
122
|
-
fi
|
|
123
|
-
|
|
124
|
-
# For Darwin, add options to specify how the application appears in the dock
|
|
125
|
-
if $darwin; then
|
|
126
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
127
|
-
fi
|
|
128
|
-
|
|
129
|
-
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
130
|
-
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
131
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
132
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
133
|
-
|
|
134
|
-
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
135
|
-
|
|
136
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
137
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
138
|
-
SEP=""
|
|
139
|
-
for dir in $ROOTDIRSRAW ; do
|
|
140
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
141
|
-
SEP="|"
|
|
142
|
-
done
|
|
143
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
144
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
145
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
146
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
147
|
-
fi
|
|
148
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
149
|
-
i=0
|
|
150
|
-
for arg in "$@" ; do
|
|
151
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
152
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
153
|
-
|
|
154
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
155
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
156
|
-
else
|
|
157
|
-
eval `echo args$i`="\"$arg\""
|
|
158
|
-
fi
|
|
159
|
-
i=`expr $i + 1`
|
|
160
|
-
done
|
|
161
|
-
case $i in
|
|
162
|
-
0) set -- ;;
|
|
163
|
-
1) set -- "$args0" ;;
|
|
164
|
-
2) set -- "$args0" "$args1" ;;
|
|
165
|
-
3) set -- "$args0" "$args1" "$args2" ;;
|
|
166
|
-
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
167
|
-
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
168
|
-
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
169
|
-
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
170
|
-
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
171
|
-
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
172
|
-
esac
|
|
173
|
-
fi
|
|
174
|
-
|
|
175
|
-
# Escape application args
|
|
176
|
-
save () {
|
|
177
|
-
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
178
|
-
echo " "
|
|
179
|
-
}
|
|
180
|
-
APP_ARGS=`save "$@"`
|
|
181
|
-
|
|
182
|
-
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
|
183
|
-
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
|
184
|
-
|
|
185
|
-
exec "$JAVACMD" "$@"
|
package/android/gradlew.bat
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@rem
|
|
2
|
-
@rem Copyright 2015 the original author or authors.
|
|
3
|
-
@rem
|
|
4
|
-
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
@rem you may not use this file except in compliance with the License.
|
|
6
|
-
@rem You may obtain a copy of the License at
|
|
7
|
-
@rem
|
|
8
|
-
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
@rem
|
|
10
|
-
@rem Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
@rem See the License for the specific language governing permissions and
|
|
14
|
-
@rem limitations under the License.
|
|
15
|
-
@rem
|
|
16
|
-
|
|
17
|
-
@if "%DEBUG%" == "" @echo off
|
|
18
|
-
@rem ##########################################################################
|
|
19
|
-
@rem
|
|
20
|
-
@rem Gradle startup script for Windows
|
|
21
|
-
@rem
|
|
22
|
-
@rem ##########################################################################
|
|
23
|
-
|
|
24
|
-
@rem Set local scope for the variables with windows NT shell
|
|
25
|
-
if "%OS%"=="Windows_NT" setlocal
|
|
26
|
-
|
|
27
|
-
set DIRNAME=%~dp0
|
|
28
|
-
if "%DIRNAME%" == "" set DIRNAME=.
|
|
29
|
-
set APP_BASE_NAME=%~n0
|
|
30
|
-
set APP_HOME=%DIRNAME%
|
|
31
|
-
|
|
32
|
-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
33
|
-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
34
|
-
|
|
35
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
36
|
-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
37
|
-
|
|
38
|
-
@rem Find java.exe
|
|
39
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
40
|
-
|
|
41
|
-
set JAVA_EXE=java.exe
|
|
42
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
43
|
-
if "%ERRORLEVEL%" == "0" goto execute
|
|
44
|
-
|
|
45
|
-
echo.
|
|
46
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
47
|
-
echo.
|
|
48
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
49
|
-
echo location of your Java installation.
|
|
50
|
-
|
|
51
|
-
goto fail
|
|
52
|
-
|
|
53
|
-
:findJavaFromJavaHome
|
|
54
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
55
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
56
|
-
|
|
57
|
-
if exist "%JAVA_EXE%" goto execute
|
|
58
|
-
|
|
59
|
-
echo.
|
|
60
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
61
|
-
echo.
|
|
62
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
63
|
-
echo location of your Java installation.
|
|
64
|
-
|
|
65
|
-
goto fail
|
|
66
|
-
|
|
67
|
-
:execute
|
|
68
|
-
@rem Setup the command line
|
|
69
|
-
|
|
70
|
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@rem Execute Gradle
|
|
74
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
75
|
-
|
|
76
|
-
:end
|
|
77
|
-
@rem End local scope for the variables with windows NT shell
|
|
78
|
-
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
79
|
-
|
|
80
|
-
:fail
|
|
81
|
-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
82
|
-
rem the _cmd.exe /c_ return code!
|
|
83
|
-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
84
|
-
exit /b 1
|
|
85
|
-
|
|
86
|
-
:mainEnd
|
|
87
|
-
if "%OS%"=="Windows_NT" endlocal
|
|
88
|
-
|
|
89
|
-
:omega
|
package/android/settings.gradle
DELETED
package/android/variables.gradle
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
ext {
|
|
2
|
-
minSdkVersion = 21
|
|
3
|
-
compileSdkVersion = 30
|
|
4
|
-
targetSdkVersion = 30
|
|
5
|
-
androidxActivityVersion = '1.2.0'
|
|
6
|
-
androidxAppCompatVersion = '1.2.0'
|
|
7
|
-
androidxCoordinatorLayoutVersion = '1.1.0'
|
|
8
|
-
androidxCoreVersion = '1.3.2'
|
|
9
|
-
androidxFragmentVersion = '1.3.0'
|
|
10
|
-
junitVersion = '4.13.1'
|
|
11
|
-
androidxJunitVersion = '1.1.2'
|
|
12
|
-
androidxEspressoCoreVersion = '3.3.0'
|
|
13
|
-
cordovaAndroidVersion = '7.0.0'
|
|
14
|
-
}
|
package/output.pdf
DELETED
|
Binary file
|