update template project (#1)

This commit is contained in:
jingpeng 2019-12-23 14:47:23 +08:00 committed by osborn
parent 572bd84d8a
commit 6f6a3792dc
7 changed files with 18 additions and 20 deletions

View File

@ -10,13 +10,12 @@
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"doric": "0.1.0", "doric": "0.1.3",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rollup": "^1.17.0", "rollup": "^1.27.14",
"rollup-plugin-commonjs": "^10.0.1", "@rollup/plugin-commonjs": "^11.0.0",
"rollup-plugin-node-resolve": "^5.2.0", "@rollup/plugin-node-resolve": "^6.0.0",
"rollup-watch": "^4.3.1",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"typescript": "^3.5.3" "typescript": "^3.7.4"
} }
} }

View File

@ -1,5 +1,5 @@
import resolve from 'rollup-plugin-node-resolve' import resolve from '@rollup/plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs' import commonjs from '@rollup/plugin-commonjs'
import bundles from './build/index' import bundles from './build/index'
export default bundles.map(bundle => { export default bundles.map(bundle => {

View File

@ -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.1.0" implementation "pub.doric:core:0.1.2"
debugImplementation "pub.doric:core:0.1.0" debugImplementation "pub.doric:core:0.1.2"
} }
} }

View File

@ -7,7 +7,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.5.2' classpath 'com.android.tools.build:gradle:3.5.3'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip

View File

@ -10,13 +10,12 @@
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"doric": "0.1.1", "doric": "0.1.3",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rollup": "^1.17.0", "rollup": "^1.27.14",
"rollup-plugin-commonjs": "^10.0.1", "@rollup/plugin-commonjs": "^11.0.0",
"rollup-plugin-node-resolve": "^5.2.0", "@rollup/plugin-node-resolve": "^6.0.0",
"rollup-watch": "^4.3.1",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"typescript": "^3.5.3" "typescript": "^3.7.4"
} }
} }

View File

@ -1,5 +1,5 @@
import resolve from 'rollup-plugin-node-resolve' import resolve from '@rollup/plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs' import commonjs from '@rollup/plugin-commonjs'
import bundles from './build/index' import bundles from './build/index'
import fs from 'fs' import fs from 'fs'
import path from 'path' import path from 'path'