Hello World in Clojure with Gradle + Clojurephant
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
plugins {
|
||||
id 'dev.clojurephant.clojure' version '0.9.1'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = 'Clojars'
|
||||
url = 'https://repo.clojars.org/'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.clojure:clojure:1.12.0'
|
||||
}
|
||||
|
||||
clojure {
|
||||
builds {
|
||||
main {
|
||||
aotNamespaces.add('hello')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'hello'
|
||||
}
|
||||
Reference in New Issue
Block a user