Feature/update cli (#4)
* fix js api typo * update doric-cli target file
This commit is contained in:
@@ -28,8 +28,8 @@ android {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation "pub.doric:core:0.1.2"
|
||||
debugImplementation "pub.doric:core:0.1.2"
|
||||
implementation "pub.doric:core:0.2.0"
|
||||
debugImplementation "pub.doric:core:0.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -21,6 +21,7 @@ allprojects {
|
||||
maven {
|
||||
url "https://dl.bintray.com/osborn/Android"
|
||||
}
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -6,5 +6,5 @@ target 'Example' do
|
||||
use_frameworks!
|
||||
|
||||
# Pods for Example
|
||||
pod 'Doric-framework'
|
||||
pod 'DoricCore', '~>0.2.0'
|
||||
end
|
||||
|
@@ -21,13 +21,13 @@ class __$__ extends Panel {
|
||||
onClick: () => {
|
||||
number.text = `${++count}`
|
||||
},
|
||||
layoutConfig: layoutConfig().exactly(),
|
||||
layoutConfig: layoutConfig().just(),
|
||||
width: 200,
|
||||
height: 50,
|
||||
}),
|
||||
])
|
||||
.apply({
|
||||
layoutConfig: layoutConfig().exactly().a(Gravity.Center),
|
||||
layoutConfig: layoutConfig().just().configAlignment(Gravity.Center),
|
||||
width: 200,
|
||||
height: 200,
|
||||
space: 20,
|
||||
|
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"doric": "0.1.3",
|
||||
"doric": "0.2.0",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rollup": "^1.27.14",
|
||||
"@rollup/plugin-commonjs": "^11.0.0",
|
||||
|
Reference in New Issue
Block a user