-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
38 lines (31 loc) · 965 Bytes
/
settings.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
pluginManagement {
repositories {
// Prefer mavenCentral over gradlePluginPortal, which redirects to jcenter
mavenCentral()
gradlePluginPortal()
}
}
plugins {
// Apply the foojay-resolver plugin to allow automatic download of JDKs
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
dependencyResolutionManagement {
versionCatalogs {
libs {
def slf4j = version('slf4j', '2.0.16')
library('slf4j-api', 'org.slf4j', 'slf4j-api').versionRef(slf4j)
library('slf4j-simple', 'org.slf4j', 'slf4j-simple').versionRef(slf4j)
library('testng', 'org.testng:testng:7.10.2')
library('sonar-java-plugin', 'org.sonarsource.java:sonar-java-plugin:8.5.0.37199')
}
}
}
Closure discoverSubprojects = {
def list = []
rootDir.eachDir(){ dir ->
dir.eachFileMatch({it == 'build.gradle'}, { list += [dir.name] })
}
list.toArray(new java.lang.String[0])
}
rootProject.name = 'ffmpeg-panama'
include discoverSubprojects()