@@ -2,19 +2,10 @@ plugins {
22 id(" dev.clojurephant.clojure" )
33 id(" java-library" )
44 id(" maven-publish" )
5-
6- id(" org.ajoberstar.reckon" )
75}
86
97group = " dev.clojurephant"
108
11- reckon {
12- setDefaultInferredScope(" patch" )
13- stages(" alpha" , " beta" , " rc" , " final" )
14- setScopeCalc(calcScopeFromProp().or (calcScopeFromCommitMessages()))
15- setStageCalc(calcStageFromProp())
16- }
17-
189java {
1910 toolchain {
2011 languageVersion.set(JavaLanguageVersion .of(8 ))
@@ -34,11 +25,11 @@ dependencies {
3425 api(" org.clojure:clojure:1.11.1" )
3526
3627 // gradle
37- compileOnly(" org.gradle:gradle-tooling-api:7 .5" )
28+ compileOnly(" org.gradle:gradle-tooling-api:8 .5" )
3829
3930 // clojurescript and nrepl
40- api(" org.clojure:clojurescript:1.11.60 " )
41- api(" nrepl:nrepl:0.9 .0" )
31+ api(" org.clojure:clojurescript:1.11.121 " )
32+ api(" nrepl:nrepl:1.1 .0" )
4233 api(" cider:piggieback:0.5.3" )
4334
4435 // figwheel repl
@@ -50,20 +41,19 @@ dependencies {
5041 " figwheelMainApi" (" com.bhauman:figwheel-main:0.2.18" )
5142
5243 // testing
53- testRuntimeOnly(" org.ajoberstar :jovial:0.3.0 " )
54- devRuntimeOnly(" org.slf4j:slf4j-simple:1.7.36 " )
44+ testRuntimeOnly(" dev.clojurephant :jovial:0.4.2 " )
45+ devRuntimeOnly(" org.slf4j:slf4j-simple:2.0.10 " )
5546}
5647
5748tasks.withType<Test >() {
5849 useJUnitPlatform()
5950}
6051
6152tasks.named<Jar >(" jar" ) {
62- dependsOn(configurations.compileClasspath)
63- from({
64- configurations.compileClasspath.files { dep ->
65- dep.getGroup() == " org.gradle"
66- }.map {
53+ from(configurations.compileClasspath.get().map {
54+ if (it.isDirectory()) {
55+ it
56+ } else {
6757 zipTree(it).matching { include(" org/gradle/**/*" ) }
6858 }
6959 })
@@ -104,7 +94,7 @@ publishing {
10494
10595 licenses {
10696 license {
107- name.set(" Apache License 2.0" )
97+ name.set(" Apache- 2.0" )
10898 url.set(" https://github.com/clojurephant/jovial/blob/main/LICENSE" )
10999 }
110100 }
0 commit comments