Run copyNotice task automatically

This commit is contained in:
seven332 committed 2016-04-28 02:07:17 +08:00
1 parent 10693c5ffc
commit d186a6ac3b
2 files changed
+8 -2

No files matched your search

-2
View File
@@ -19,7 +19,6 @@ Windows
> git clone https://github.com/seven332/EhViewer
> cd EhViewer
> git submodule update --init
> gradlew app:copyNotice
> gradlew daogenerator:executeDaoGenerator
> gradlew app:assembleDebug
@@ -28,7 +27,6 @@ Linux
$ git clone https://github.com/seven332/EhViewer
$ cd EhViewer
$ git submodule update --init
$ ./gradlew app:copyNotice
$ ./gradlew daogenerator:executeDaoGenerator
$ ./gradlew app:assembleDebug
+8
View File
@@ -46,6 +46,14 @@ task copyNotice(type: Copy) {
into './src/main/assets'
}
tasks.withType(AbstractCompile) {
compileTask -> compileTask.dependsOn copyNotice
}
clean {
delete file('src/main/assets/NOTICE.html').absolutePath
}
dependencies {
compile project(':beerbelly')
compile project(':conaco')