/*
 * This file was generated by the Gradle 'init' task.
 *
 * The settings file is used to specify which projects to include in your build.
 *
 * Detailed information about configuring a multi-project build in Gradle can be found
 * in the user manual at https://docs.gradle.org/6.3/userguide/multi_project_builds.html
 */

pluginManagement {
    plugins {
        id "com.github.spotbugs-base" version "${spotbugsPluginVersion}"
        id "com.github.johnrengelman.shadow" version "${shadowJarPluginVersion}"
        id "de.undercouch.download" version "${downloadPluginVersion}"
        id "net.researchgate.release" version "${releasePluginVersion}"
        id "io.ballerina.plugin" version "${ballerinaGradlePluginVersion}"
    }

    repositories {
        gradlePluginPortal()
        maven {
            url = 'https://maven.pkg.github.com/ballerina-platform/*'
            credentials {
                username System.getenv("packageUser")
                password System.getenv("packagePAT")
            }
        }
    }
}

plugins {
    id "com.gradle.enterprise" version "3.13.2"
}

rootProject.name = 'log'

include ':checkstyle'
include ':log-native'
include ':log-test-utils'
include ':log-ballerina'
include ':log-compiler-plugin'
include ':log-compiler-plugin-tests'
include ':log-integration-tests'

project(':checkstyle').projectDir = file("build-config${File.separator}checkstyle")
project(':log-native').projectDir = file('native')
project(':log-test-utils').projectDir = file('test-utils')
project(':log-ballerina').projectDir = file('ballerina')
project(':log-compiler-plugin').projectDir = file('compiler-plugin')
project(':log-compiler-plugin-tests').projectDir = file('compiler-plugin-tests')
project(':log-integration-tests').projectDir = file('integration-tests')

gradleEnterprise {
    buildScan {
        termsOfServiceUrl = 'https://gradle.com/terms-of-service'
        termsOfServiceAgree = 'yes'
    }
}
