Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 33d3376c authored by Ludovic Le Frioux's avatar Ludovic Le Frioux
Browse files

Merge branch '2-use-maven-package-from-c-crdtlib-registry' into 'master'

Resolve "Use Maven package from c-crdtlib registry"

Closes #2

See merge request !1
parents 0b3d22ed 4bd52ab2
No related branches found
No related tags found
1 merge request!1Resolve "Use Maven package from c-crdtlib registry"
......@@ -18,4 +18,8 @@ The pseudo code of the version v1 is in the directory *pseudo-code-v1/*.
The building is managed through the use of Gradle.
Build depends on the C-CRDTLib Maven registry package see
[here](https://gitlab.inria.fr/concordant/software/c-crdtlib/-/blob/master/README.md)
how to install it.
*gradle build*: compiles code.
......@@ -24,7 +24,17 @@ plugins {
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
url = uri("https://gitlab.inria.fr/api/v4/projects/18591/packages/maven")
credentials(HttpHeaderCredentials::class) {
name = "Deploy-Token"
val gitLabPrivateToken: String by project
value = gitLabPrivateToken
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
kotlin {
......@@ -45,14 +55,13 @@ kotlin {
commonMain {
dependencies {
implementation("io.concordant:c-crdtlib-metadata:0.0.6")
implementation("concordant:c-crdtlib:0.0.7-1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
}
}
commonTest {
dependencies {
implementation("io.concordant:c-crdtlib-metadata:0.0.6")
implementation("io.kotest:kotest-assertions-core:4.3.0")
implementation("io.ktor:ktor-client-core:1.4.1")
}
......@@ -61,14 +70,12 @@ kotlin {
val jvmMain by getting {
dependencies {
implementation("io.concordant:c-crdtlib-jvm:0.0.6")
implementation("io.ktor:ktor-client-cio-jvm:1.4.1")
}
}
val jvmTest by getting {
dependencies {
implementation("io.concordant:c-crdtlib-jvm:0.0.6")
implementation("io.kotest:kotest-runner-junit5-jvm:4.3.0")
implementation("io.ktor:ktor-client-cio-jvm:1.4.1")
}
......@@ -76,14 +83,12 @@ kotlin {
val nodeJsMain by getting {
dependencies {
implementation("io.concordant:c-crdtlib-nodejs:0.0.6")
implementation("io.ktor:ktor-client-js:1.4.1")
}
}
val nodeJsTest by getting {
dependencies {
implementation("io.concordant:c-crdtlib-nodejs:0.0.6")
implementation("io.ktor:ktor-client-js:1.4.1")
implementation("io.kotest:kotest-core-js:4.2.0.RC2")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment