diff --git a/build-support/src/main/kotlin/BuildSupport.kt b/build-support/src/main/kotlin/BuildSupport.kt index 5a919eda42..ad7ad8e45f 100644 --- a/build-support/src/main/kotlin/BuildSupport.kt +++ b/build-support/src/main/kotlin/BuildSupport.kt @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2023 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import org.gradle.api.Plugin import org.gradle.api.Project diff --git a/build-support/src/main/kotlin/bom.kt b/build-support/src/main/kotlin/bom.kt index 0918e01c13..b647714ce3 100644 --- a/build-support/src/main/kotlin/bom.kt +++ b/build-support/src/main/kotlin/bom.kt @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2023 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import java.util.Locale import org.gradle.api.Project import org.gradle.api.artifacts.dsl.DependencyConstraintHandler diff --git a/build-support/src/main/kotlin/jvm.kt b/build-support/src/main/kotlin/jvm.kt index fe13ad5295..3e409ef293 100644 --- a/build-support/src/main/kotlin/jvm.kt +++ b/build-support/src/main/kotlin/jvm.kt @@ -1,2 +1,17 @@ +/* + * Copyright (C) 2023 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // If true - tests should run for a loom environment. val loomEnabled = System.getProperty("loomEnabled", "false").toBoolean() diff --git a/build-support/src/main/kotlin/kmp.kt b/build-support/src/main/kotlin/kmp.kt index 0be089bb1e..5245114918 100644 --- a/build-support/src/main/kotlin/kmp.kt +++ b/build-support/src/main/kotlin/kmp.kt @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2023 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // If false - JS targets will not be configured in multiplatform projects. val kmpJsEnabled = System.getProperty("kjs", "true").toBoolean() diff --git a/build-support/src/main/kotlin/platforms.kt b/build-support/src/main/kotlin/platforms.kt index f0ae55ec0c..da4bf75f35 100644 --- a/build-support/src/main/kotlin/platforms.kt +++ b/build-support/src/main/kotlin/platforms.kt @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2023 Square, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import org.gradle.api.NamedDomainObjectContainer import org.gradle.kotlin.dsl.get import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension