aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-03 00:06:02 -0700
committerAllan Wang <me@allanwang.ca>2019-07-03 00:06:02 -0700
commit33274faf9bb68eb95cb3e2e095cd0cef84aa6fd7 (patch)
tree82ffc3467fae807d33abf5ff9f8c61dcb4f87134 /app/build.gradle
parent93d2d28af68c932e1bdd931fcb4a62943c45e14d (diff)
downloadfrost-33274faf9bb68eb95cb3e2e095cd0cef84aa6fd7.tar.gz
frost-33274faf9bb68eb95cb3e2e095cd0cef84aa6fd7.tar.bz2
frost-33274faf9bb68eb95cb3e2e095cd0cef84aa6fd7.zip
Remove custom extensions and use plugin as is
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle22
1 files changed, 21 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 0f5188b7..b286a754 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,7 +5,18 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'com.gladed.androidgitversion'
-apply plugin: FrostPlugin
+
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath "com.moowork.gradle:gradle-node-plugin:${Versions.nodeGradle}"
+ }
+}
+
+apply plugin: com.moowork.gradle.node.NodePlugin
apply from: '../spotless.gradle'
group = APP_GROUP
@@ -168,6 +179,15 @@ android {
}
+node {
+ download = true
+ nodeModulesDir = file("${project.projectDir}/src/web")
+}
+
+task frostWebGen(type: NpmTask) {
+ args = ['run', 'compile']
+}
+
repositories {
google()
jcenter()