update doric project template
This commit is contained in:
parent
7c2ba30bd5
commit
80b9565f96
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"doric": "0.2.3",
|
"doric": "0.3.8",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rollup": "^1.27.14",
|
"rollup": "^1.27.14",
|
||||||
"tslib": "^1.10.0",
|
"tslib": "^1.10.0",
|
||||||
|
@ -28,8 +28,8 @@ android {
|
|||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||||
implementation "pub.doric:core:0.2.3"
|
implementation "pub.doric:core:0.3.8"
|
||||||
debugImplementation "pub.doric:core:0.2.3"
|
debugImplementation "pub.doric:core:0.3.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
setContentView(R.layout.activity_main);
|
setContentView(R.layout.activity_main);
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
String source = "assets://src/" + BUNDLE_NAME + ".js";
|
String source = "assets://src/" + BUNDLE_NAME + ".js";
|
||||||
getIntent().putExtra("source", scheme);
|
getIntent().putExtra("source", source);
|
||||||
getIntent().putExtra("alias", BUNDLE_NAME);
|
getIntent().putExtra("alias", BUNDLE_NAME);
|
||||||
this.getSupportFragmentManager().beginTransaction().add(R.id.root, new DoricFragment()).commit();
|
this.getSupportFragmentManager().beginTransaction().add(R.id.root, new DoricFragment()).commit();
|
||||||
}
|
}
|
||||||
|
@ -18,9 +18,6 @@ allprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
maven {
|
|
||||||
url "https://dl.bintray.com/osborn/Android"
|
|
||||||
}
|
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,5 @@ target 'Example' do
|
|||||||
use_frameworks!
|
use_frameworks!
|
||||||
|
|
||||||
# Pods for Example
|
# Pods for Example
|
||||||
pod 'DoricCore', '~>0.2.3'
|
pod 'DoricCore', '~>0.3.8'
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user