Skip to content

Commit 262aef8

Browse files
committed
Update license headers for soundness license checks
1 parent 0ae7fcb commit 262aef8

14 files changed

Lines changed: 239 additions & 5 deletions

File tree

.licenseignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
.gitignore
2+
**/.gitignore
3+
.licenseignore
4+
.unacceptablelanguageignore
5+
.swiftformatignore
6+
.gitattributes
7+
.mailfilter
8+
.mailmap
9+
.spi.yml
10+
.swift-format
11+
.editorconfig
12+
.github/*
13+
.idea/icon.svg
14+
gradle/libs.versions.toml
15+
gradle-wrapper.properties
16+
gradle.properties
17+
gradlew
18+
gradlew.bat
19+
proguard-rules.pro
20+
*.xml
21+
*.webp
22+
*.png
23+
*.config
24+
*.jar
25+
*.md
26+
*.txt
27+
*.yml
28+
*.yaml
29+
*.json
30+
Package.swift
31+
**/Package.swift
32+
Package@-*.swift
33+
**/Package@-*.swift
34+
Package.resolved
35+
**/Package.resolved
36+
Makefile
37+
*.modulemap
38+
**/*.modulemap
39+
**/*.docc/*
40+
*.xcprivacy
41+
**/*.xcprivacy
42+
*.symlink
43+
**/*.symlink
44+
Dockerfile
45+
**/Dockerfile
46+
Snippets/*
47+
dev/git.commit.template
48+
*.crt
49+
**/*.crt
50+
*.pem
51+
**/*.pem
52+
*.der
53+
**/*.der
54+
native-app-glue/Sources/AndroidNativeAppGlue/android_native_app_glue.c

Sources/SwiftAndroid/Empty.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
// This file is included so SwiftPM considers the target to be a Swift target.

build.gradle.kts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
// Top-level build file where you can add configuration options common to all sub-projects/modules.
216
plugins {
317
alias(libs.plugins.android.application) apply false
418
alias(libs.plugins.kotlin.android) apply false
519
alias(libs.plugins.android.library) apply false
6-
}
20+
}

hello-cpp-swift/app/build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
plugins {
216
alias(libs.plugins.android.application)
317
alias(libs.plugins.kotlin.android)

hello-cpp-swift/app/src/main/java/com/example/hellocppswift/MainActivity.kt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
114
package com.example.hellocppswift
215

316
import android.os.Bundle

hello-cpp-swift/swift-lib/Sources/HelloCppSwift/Calculator.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
114
#if canImport(FoundationEssentials)
215
import FoundationEssentials
316
#else

hello-swift-java/hashing-app/build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
plugins {
216
alias(libs.plugins.android.application)
317
alias(libs.plugins.kotlin.android)

hello-swift-raw-jni-callback/build.gradle.kts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
plugins {
216
alias(libs.plugins.android.application)
317
alias(libs.plugins.kotlin.android)
@@ -45,4 +59,4 @@ dependencies {
4559
implementation(libs.androidx.appcompat)
4660
implementation(libs.material)
4761
implementation(libs.androidx.constraintlayout)
48-
}
62+
}

hello-swift-raw-jni-library/build.gradle.kts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
plugins {
216
alias(libs.plugins.android.library)
317
alias(libs.plugins.kotlin.android)
@@ -42,4 +56,4 @@ dependencies {
4256
testImplementation(libs.junit)
4357
androidTestImplementation(libs.androidx.junit)
4458
androidTestImplementation(libs.androidx.espresso.core)
45-
}
59+
}

hello-swift-raw-jni/build.gradle.kts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
plugins {
216
alias(libs.plugins.android.application)
317
alias(libs.plugins.kotlin.android)
@@ -47,4 +61,4 @@ dependencies {
4761
implementation(libs.androidx.appcompat)
4862
implementation(libs.material)
4963
implementation(libs.androidx.constraintlayout)
50-
}
64+
}

0 commit comments

Comments
 (0)