Feature/prepare publish (#2)

* add doric-js bundle into vcs

* android project read js bundle directly

* update iOS project config

* update version
This commit is contained in:
osborn
2019-12-23 15:29:38 +08:00
committed by GitHub
parent 6f6a3792dc
commit 25ba991893
21 changed files with 7335 additions and 40 deletions

View File

@@ -21,6 +21,11 @@ android {
consumerProguardFiles 'proguard-rules.pro'
}
}
sourceSets {
main {
assets.srcDirs = [project.getRootDir().getParent() + "/doric-js/bundle"]
}
}
}
afterEvaluate {

View File

@@ -1 +0,0 @@
*.js

View File

@@ -21,8 +21,8 @@ package pub.doric.utils;
* @CreateDate: 2019-07-18
*/
public class DoricConstant {
public static final String DORIC_BUNDLE_SANDBOX = "bundle/doric-sandbox.js";
public static final String DORIC_BUNDLE_LIB = "bundle/doric-lib.js";
public static final String DORIC_BUNDLE_SANDBOX = "doric-sandbox.js";
public static final String DORIC_BUNDLE_LIB = "doric-lib.js";
public static final String DORIC_MODULE_LIB = "doric";