diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index abcb847..2cd4be9 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -10,7 +10,7 @@ repositories { google() } -val android_gradle_plugin_version = "3.1.3" +val android_gradle_plugin_version = "3.2.0" val kotlin_version = "1.2.61" dependencies { @@ -23,4 +23,4 @@ tasks.withType { kotlinOptions { jvmTarget = "1.8" } -} \ No newline at end of file +} diff --git a/buildSrc/src/main/kotlin/com/anthonycicchetti/financetracker/DependencyVersions.kt b/buildSrc/src/main/kotlin/com/anthonycicchetti/financetracker/DependencyVersions.kt index 7f66c4b..6ae5c8a 100644 --- a/buildSrc/src/main/kotlin/com/anthonycicchetti/financetracker/DependencyVersions.kt +++ b/buildSrc/src/main/kotlin/com/anthonycicchetti/financetracker/DependencyVersions.kt @@ -8,6 +8,7 @@ object DependencyVersions { object Server { const val Capsule = "1.0.2" + const val Shadow = "4.0.2" } object Android { diff --git a/server/build.gradle b/server/build.gradle index 731f41f..55c5abf 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -3,14 +3,16 @@ import com.anthonycicchetti.financetracker.DependencyVersions buildscript { repositories { mavenCentral() + jcenter() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${DependencyVersions.Kotlin}" + classpath "com.github.jengelman.gradle.plugins:shadow:${DependencyVersions.Server.Shadow}" } } plugins { - id "us.kirchmeier.capsule" version '1.0.2' + id 'com.github.johnrengelman.shadow' version '4.0.2' id 'application' id 'kotlin' } @@ -39,6 +41,3 @@ compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } -task fatCapsule(type: FatCapsule) { - applicationClass 'MainKt' -} \ No newline at end of file