This repository was archived by the owner on Feb 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +189
-142
lines changed Expand file tree Collapse file tree 7 files changed +189
-142
lines changed Original file line number Diff line number Diff line change 1
- buildscript {
2
- repositories {
3
- mavenCentral()
4
- mavenLocal()
5
- }
6
- }
7
-
1
+ @Suppress(" DSL_SCOPE_VIOLATION" )
8
2
plugins {
9
3
java
10
- kotlin( " jvm " ).version( Libs . KotlinVersion )
11
- id( " java-library " )
12
- id( " maven-publish " )
13
- id( " java-gradle-plugin " )
14
- id( " com. gradle.plugin-publish " ).version( Libs . GradlePluginPublishVersion )
4
+ `java - library`
5
+ `maven - publish`
6
+ `java - gradle - plugin`
7
+ alias(libs.plugins.kotlin.jvm )
8
+ alias(libs.plugins. gradle.plugin.publish )
15
9
}
16
10
17
11
repositories {
@@ -29,13 +23,13 @@ java {
29
23
30
24
dependencies {
31
25
compileOnly(gradleApi())
32
- compileOnly(" org.jetbrains. kotlin:kotlin- gradle-plugin:1.4.32 " )
33
- compileOnly(" io .kotest:kotest- framework-api-jvm:4.4.3 " )
34
- implementation(" io .kotest:kotest- framework-engine-jvm:4.4.3 " )
35
- implementation(" org.jetbrains. kotlinx:kotlinx- coroutines-core:1.4.3 " )
26
+ compileOnly(libs. kotlin. gradle.plugin )
27
+ compileOnly(libs .kotest. framework.api )
28
+ implementation(libs .kotest. framework.engine )
29
+ implementation(libs. kotlinx. coroutines.core )
36
30
37
- testImplementation(Libs . Kotest .assertions)
38
- testImplementation(Libs . Kotest .junit5)
31
+ testImplementation(libs.kotest .assertions.core )
32
+ testImplementation(libs.kotest.runner .junit5)
39
33
}
40
34
41
35
tasks.named<Test >(" test" ) {
Original file line number Diff line number Diff line change 1
- import org.gradle.kotlin.dsl.`kotlin-dsl`
2
-
3
- repositories {
4
- jcenter()
5
- }
6
-
7
1
plugins {
8
2
`kotlin- dsl`
9
3
}
4
+
5
+ repositories {
6
+ mavenCentral()
7
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ [versions ]
2
+ kotlin = " 1.4.32"
3
+ kotest = " 4.4.3"
4
+ coroutines = " 1.4.3"
5
+
6
+ [libraries ]
7
+ kotest-framework-api = { module = " io.kotest:kotest-framework-api" , version.ref = " kotest" }
8
+ kotest-framework-engine = { module = " io.kotest:kotest-framework-engine" , version.ref = " kotest" }
9
+ kotest-runner-junit5 = { module = " io.kotest:kotest-runner-junit5" , version.ref = " kotest" }
10
+ kotest-assertions-core = { module = " io.kotest:kotest-assertions-core" , version.ref = " kotest" }
11
+ kotest-assertions-shared = { module = " io.kotest:kotest-assertions-shared" , version.ref = " kotest" }
12
+
13
+ kotlinx-coroutines-core = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-core" , version.ref = " coroutines" }
14
+
15
+ kotlin-gradle-plugin = { module = " org.jetbrains.kotlin:kotlin-gradle-plugin" , version.ref = " kotlin" }
16
+
17
+ [plugins ]
18
+ kotlin-jvm = { id = " org.jetbrains.kotlin.jvm" , version.ref = " kotlin" }
19
+ gradle-plugin-publish = { id = " com.gradle.plugin-publish" , version = " 0.15.0" }
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3 .2-bin .zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.4 .2-all .zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments