-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
88 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,52 @@ | ||
plugins { | ||
kotlin("jvm") version "2.0.21" | ||
kotlin("jvm") | ||
id("co.uzzu.dotenv.gradle") | ||
id("maven-publish") | ||
id("co.uzzu.dotenv.gradle") version "4.0.0" | ||
id("org.jetbrains.dokka") version "1.9.20" | ||
id("org.jetbrains.dokka") | ||
} | ||
|
||
/** Generating KDoc requires all subprojects to use Dokka as well. */ | ||
subprojects { apply(plugin = "org.jetbrains.dokka") } | ||
/** The target JDK. */ | ||
val jdkVersion: String by project | ||
kotlin { jvmToolchain(jdkVersion.toInt()) } | ||
|
||
group = "technology.idlab" | ||
allprojects { | ||
/** The current version number of the RDF-Connect Orchestrator. */ | ||
val projectVersion: String by project | ||
version = projectVersion | ||
|
||
version = "0.0.2" | ||
/** The group name of the project. */ | ||
val projectGroup: String by project | ||
group = projectGroup | ||
|
||
kotlin { jvmToolchain(22) } | ||
// Make the GH Packages repository available. | ||
repositories { | ||
mavenCentral() | ||
|
||
/** | ||
* A list of all the repositories we use in the project. This includes the maven central repository | ||
* and the GitHub package repository. | ||
*/ | ||
repositories { | ||
mavenCentral() | ||
maven { | ||
url = uri("https://maven.pkg.github.com/rdf-connect/orchestrator") | ||
credentials { | ||
username = env.fetchOrNull("GITHUB_ACTOR") ?: System.getenv("GITHUB_ACTOR") | ||
password = env.fetchOrNull("GITHUB_TOKEN") ?: System.getenv("GITHUB_TOKEN") | ||
} | ||
} | ||
} | ||
} | ||
|
||
subprojects { | ||
// Shared plugins. | ||
apply(plugin = "org.jetbrains.kotlin.jvm") | ||
apply(plugin = "maven-publish") | ||
apply(plugin = "org.jetbrains.dokka") | ||
|
||
// Configure testing framework. | ||
tasks.test { | ||
useJUnitPlatform() | ||
|
||
maxParallelForks = 1 | ||
|
||
maven { | ||
url = uri("https://maven.pkg.github.com/rdf-connect/orchestrator") | ||
credentials { | ||
username = env.fetchOrNull("GITHUB_ACTOR") ?: System.getenv("GITHUB_ACTOR") | ||
password = env.fetchOrNull("GITHUB_TOKEN") ?: System.getenv("GITHUB_TOKEN") | ||
testLogging { | ||
events("passed", "skipped", "failed") | ||
showStandardStreams = true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
kotlin.code.style=official | ||
|
||
# Project information. | ||
projectVersion=0.0.2 | ||
projectGroup = "technology.idlab | ||
|
||
# Dependency versions. | ||
kotlinVersion=2.0.21 | ||
jdkVersion=22 | ||
dotEnvVersion=4.0.0 | ||
dokkaVersion=1.9.20 | ||
shadowVersion=8.3.3 | ||
protobufVersion=0.9.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters