forked from openrndr/openrndr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (35 loc) · 1.16 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
alias(libs.plugins.nebula.release)
alias(libs.plugins.gradle.nexus.publish)
id("org.openrndr.convention.dokka")
id 'com.adarshr.test-logger' version '3.2.0'
}
repositories {
mavenCentral()
}
group = "org.openrndr"
nexusPublishing {
repositories {
sonatype {
username.set(findProperty("ossrhUsername") ?: System.getenv("OSSRH_USERNAME"))
password.set(findProperty("ossrhPassword") ?: System.getenv("OSSRH_PASSWORD"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots"))
}
}
}
subprojects {
// Equivalent Kotlin is: tasks.register<DependencyReportTask>("dependenciesAll") { ...
tasks.register("dependenciesAll", DependencyReportTask) {
group = HelpTasksPlugin.HELP_GROUP
description = "Displays all dependencies, including subprojects."
}
}
dokkaHtmlMultiModule {
dependsOn("openrndr-js:dokkaHtmlMultiModule")
dependsOn("openrndr-jvm:dokkaHtmlMultiModule")
}
gradle.buildFinished {
println("\n")
println("openrndr = \"${version}\"")
}