Skip to content

Commit cf0df09

Browse files
committed
Add atomicfu
1 parent b97ded4 commit cf0df09

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
1+
12
plugins {
23
kotlin("jvm") version "1.8.21"
34
application
45
}
56

7+
// atomicfu
8+
buildscript {
9+
dependencies {
10+
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.21.0")
11+
}
12+
}
13+
apply(plugin = "kotlinx-atomicfu")
14+
615
group = "org.example"
716
version = "1.0-SNAPSHOT"
817

918
repositories {
1019
mavenCentral()
20+
maven {
21+
url = uri("https://plugins.gradle.org/m2/")
22+
}
1123
}
1224

25+
1326
dependencies {
1427
testImplementation(kotlin("test"))
1528
}

settings.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11

22
rootProject.name = "csc-kotlin-course-code-practice"
33

4+
pluginManagement {
5+
repositories {
6+
mavenCentral()
7+
gradlePluginPortal()
8+
}
9+
}

0 commit comments

Comments
 (0)