Skip to content

Commit a6a2a22

Browse files
author
Patrick Mirwald
committed
chore: update gradle & dependencies
- Update Gradle to 8.9 - Update Dependencies - Remove unused Dependency JUnit
1 parent cb45b12 commit a6a2a22

File tree

3 files changed

+20
-25
lines changed

3 files changed

+20
-25
lines changed

build.gradle.kts

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
22
import io.gitlab.arturbosch.detekt.Detekt
33

4+
@Suppress("DSL_SCOPE_VIOLATION") // IntelliJ incorrectly marks libs as not callable
45
plugins {
56
`kotlin-dsl`
67
`maven-publish`
@@ -18,7 +19,6 @@ dependencies {
1819
implementation(libs.aws.ecs)
1920
implementation(libs.aws.codeartifact)
2021
implementation(libs.aws.sts)
21-
testImplementation(libs.junit)
2222
}
2323

2424
ktlint {
@@ -63,28 +63,25 @@ tasks.withType<DependencyUpdatesTask> {
6363
}
6464

6565
group = "com.liftric.code.artifact.repository"
66-
version = with(versioning.info) {
67-
if (branch == "HEAD" && dirty.not()) {
68-
tag
69-
} else {
70-
full
66+
version =
67+
with(versioning.info) {
68+
if (branch == "HEAD" && dirty.not()) {
69+
tag
70+
} else {
71+
full
72+
}
7173
}
72-
}
7374

7475
gradlePlugin {
76+
website.set("https://github.com/Liftric/code-artifact-repository-plugin")
77+
vcsUrl.set("https://github.com/Liftric/code-artifact-repository-plugin")
7578
plugins {
7679
create("CodeArtifactRepositoryPlugin") {
7780
id = "com.liftric.code-artifact-repository-plugin"
7881
displayName = "code-artifact-repository-plugin"
7982
description = "Apply AWS CodeArtifact repositories"
8083
implementationClass = "com.liftric.code.artifact.repository.CodeArtifactRepositoryPlugin"
84+
tags.set(listOf("aws", "codeartifact", "maven", "repository"))
8185
}
8286
}
8387
}
84-
85-
pluginBundle {
86-
website = "https://github.com/Liftric/code-artifact-repository-plugin"
87-
vcsUrl = "https://github.com/Liftric/code-artifact-repository-plugin"
88-
description = "Gradle plugin to apply AWS CodeArtifact repositories"
89-
tags = listOf("aws", "codeartifact", "maven", "repository")
90-
}

gradle/libs.versions.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
[versions]
2-
aws = "2.17.224"
3-
detekt = "1.20.0"
4-
junit = "4.13.2"
5-
kotlin = "1.7.0"
6-
ktlint-gradle = "10.3.0"
7-
plugin-publish = "1.0.0"
8-
version-catalog-update = "0.5.1"
9-
version-check = "0.42.0"
10-
versioning = "3.0.0"
2+
aws = "2.26.31"
3+
detekt = "1.23.6"
4+
kotlin = "2.0.10"
5+
ktlint-gradle = "12.1.1"
6+
plugin-publish = "1.2.1"
7+
version-catalog-update = "0.8.4"
8+
version-check = "0.51.0"
9+
versioning = "3.1.0"
1110

1211
[libraries]
1312
aws-codeartifact = { module = "software.amazon.awssdk:codeartifact", version.ref = "aws" }
1413
aws-ecs = { module = "software.amazon.awssdk:ecs", version.ref = "aws" }
1514
aws-sts = { module = "software.amazon.awssdk:sts", version.ref = "aws" }
16-
junit = { module = "junit:junit", version.ref = "junit" }
1715

1816
[plugins]
1917
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)