Skip to content

Commit aa7538c

Browse files
committed
- chore: updates;
1 parent d251922 commit aa7538c

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

build.gradle

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
22
id 'idea'
3-
id 'com.github.ben-manes.versions' version '0.44.0'
3+
id 'com.github.ben-manes.versions' version '0.53.0'
44
id 'scala'
5-
id 'io.miret.etienne.sass' version '1.5.1'
5+
id 'io.miret.etienne.sass' version '1.6.0'
66
}
77

88
idea {
@@ -22,21 +22,36 @@ tasks.withType(ScalaCompile).configureEach {
2222
additionalParameters = [
2323
'-new-syntax',
2424
'-feature',
25-
'-language:strictEquality'
25+
'-language:strictEquality',
26+
'-source:future'
2627
]
2728
}
2829
}
2930

3031
description = '19 Kislev Archive'
3132

32-
final String opentorahVersion = '0.10.13'
33+
scala.scalaVersion = '3.7.4'
34+
35+
final String opentorahVersion = '0.10.16'
3336

3437
dependencies {
35-
implementation 'org.scala-lang:scala3-library_3:3.6.2'
3638
implementation "org.opentorah:opentorah-collector:$opentorahVersion"
3739
implementation "org.opentorah:opentorah-util:$opentorahVersion" // for the Cutter
3840
}
3941

42+
def isNonStable = { String version ->
43+
boolean stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
44+
String regex = /^[0-9,.v-]+(-r)?$/
45+
return !stableKeyword && !(version ==~ regex)
46+
}
47+
48+
// dependencyUpdates.revision = 'release'
49+
tasks.named("dependencyUpdates").configure {
50+
rejectVersionIf {
51+
isNonStable(it.candidate.version)
52+
}
53+
}
54+
4055
compileSass {
4156
group = 'publishing'
4257

gradle/wrapper/gradle-wrapper.jar

79 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)