Last active
July 3, 2019 18:13
-
-
Save erikkaplun/881e6c5290fccdcb5f63a1bb69a1e75c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'dev.clojurephant.clojure' version '0.5.0-alpha.5' | |
id 'application' | |
id 'com.github.johnrengelman.shadow' version '5.0.0' | |
id 'maven-publish' | |
} | |
group = 'myname' | |
version = '0.1.0-SNAPSHOT' | |
mainClassName = 'myname.myapp' | |
repositories { | |
mavenCentral() | |
maven { | |
name = 'clojars' | |
url = 'https://repo.clojars.org' | |
} | |
} | |
dependencies { | |
implementation 'org.clojure:clojure:1.10.0' | |
testImplementation 'junit:junit:4.12' | |
devImplementation 'org.clojure:tools.namespace:0.3.0-alpha4' | |
} | |
clojure { | |
builds { | |
main { | |
aotAll() | |
} | |
} | |
} | |
publishing { | |
publications { | |
shadow(MavenPublication) { publication -> | |
project.shadow.component(publication) | |
} | |
} | |
repositories { | |
maven { | |
name = 'clojars' | |
url = 'https://repo.clojars.org' | |
credentials { | |
username = System.env['CLOJARS_USER'] | |
password = System.env['CLOJARS_PASSWORD'] | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
maven("https://clojars.org/repo") | |
} | |
dependencies { | |
classpath("org.clojure:clojure:1.10.1") | |
} | |
} | |
plugins { | |
java | |
war | |
id("org.springframework.boot") version "2.1.6.RELEASE" | |
id("dev.clojurephant.clojure") version "0.5.0-alpha.5" | |
// id("application") | |
} | |
group = "com.vapeout" | |
version = "0.0.1-SNAPSHOT" | |
val camundaSpringVersion = "3.3.1" | |
val springVersion = "2.1.5.RELEASE" | |
val jaxbImplVersion = "2.2.3" | |
val h2Version = "1.4.199" | |
val nreplVersion = "0.6.0" | |
val clojureVersion = "1.10.1" | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
maven("https://app.camunda.com/nexus/content/groups/public") | |
maven("https://clojars.org/repo") | |
} | |
dependencies { | |
implementation("org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp:$camundaSpringVersion") | |
implementation("org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:$camundaSpringVersion") | |
implementation("org.springframework.boot:spring-boot-starter-actuator:$springVersion") | |
implementation("com.sun.xml.bind:jaxb-impl:$jaxbImplVersion") | |
testImplementation("org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-test:$camundaSpringVersion") | |
runtime("com.h2database:h2:$h2Version") | |
// devImplementation("org.clojure:tools.namespace:0.3.0-alpha4") | |
implementation("org.clojure:clojure:$clojureVersion") | |
implementation("nrepl:nrepl:$nreplVersion") | |
} | |
clojure { | |
builds { | |
main { | |
aotAll() | |
} | |
} | |
} | |
val war by tasks.getting(War::class) | |
tasks["build"].dependsOn(war) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment