forked from whyoleg/ffi-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
49 lines (39 loc) · 1.07 KB
/
settings.gradle.kts
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
41
42
43
44
45
46
47
48
49
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
includeBuild("build-logic")
includeBuild("build-parameters")
includeBuild("build-kotlin")
}
plugins {
id("kotlin-version-catalog")
id("com.gradle.enterprise") version "3.12.2"
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.4.0")
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
rootProject.name = "ffi-kotlin"
include("ffi-c-index")
include("ffi-c-generator")
include("ffi-c-runtime")
fun includeLibrary(name: String) {
listOf("api", "shared", "prebuilt", "test").forEach { submodule ->
include("libraries:$name:$name-$submodule")
project(":libraries:$name:$name-$submodule").projectDir = file("libraries/$name/$submodule")
}
}
includeLibrary("libcrypto3")