Feature/update cli (#4)

* fix js api typo

* update doric-cli target file
This commit is contained in:
osborn
2019-12-23 17:29:42 +08:00
committed by GitHub
parent efe0756541
commit c1776f6f25
13 changed files with 17 additions and 16 deletions

View File

@@ -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"
}
}

View File

@@ -21,6 +21,7 @@ allprojects {
maven {
url "https://dl.bintray.com/osborn/Android"
}
maven { url 'https://jitpack.io' }
}
}

View File

@@ -6,5 +6,5 @@ target 'Example' do
use_frameworks!
# Pods for Example
pod 'Doric-framework'
pod 'DoricCore', '~>0.2.0'
end

View File

@@ -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,

View File

@@ -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",