diff --git a/PortForwardingMacApp/main.m b/PortForwardingMacApp/main.m index 9c4afc369..315623cc3 100644 --- a/PortForwardingMacApp/main.m +++ b/PortForwardingMacApp/main.m @@ -1,4 +1,10 @@ -// Copyright 2004-present Facebook. All Rights Reserved. +/* + * Copyright (c) 2004-present, Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. + * + */ #import diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 78f6b034c..16995bdff 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -1,4 +1,5 @@ /* + * Copyright 2014-present Facebook, Inc. * Copyright 2013 Chris Banes * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 51fb1c466..1d9c8b66c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,3 +1,7 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index d61a2bbb1..4fdba2ad7 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e darwin=false diff --git a/scripts/bump.sh b/scripts/bump.sh index 1c4ecdc31..e56c99419 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Run from here so we know we're having fbsource in our $PWD. diff --git a/scripts/bump/bump.hs b/scripts/bump/bump.hs index 60c4f3f80..5869de61a 100755 --- a/scripts/bump/bump.hs +++ b/scripts/bump/bump.hs @@ -1,5 +1,11 @@ #!/usr/bin/env stack -- stack --resolver lts-13.4 --install-ghc runghc --package turtle --package system-filepath --package foldl +{- +Copyright (c) Facebook, Inc. and its affiliates. + +This source code is licensed under the MIT license found in the LICENSE file +in the root directory of this source tree. +-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# LANGUAGE OverloadedStrings #-} diff --git a/scripts/eslint.sh b/scripts/eslint.sh index a0590e4f1..870117300 100755 --- a/scripts/eslint.sh +++ b/scripts/eslint.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e # This script is used by `arc lint`. diff --git a/scripts/flow.sh b/scripts/flow.sh index f670f9751..eeb5c9195 100755 --- a/scripts/flow.sh +++ b/scripts/flow.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e # This script is used by `arc lint`. diff --git a/scripts/install-dependencies.sh b/scripts/install-dependencies.sh index 5d90c2ef8..1a7d216d7 100755 --- a/scripts/install-dependencies.sh +++ b/scripts/install-dependencies.sh @@ -1,4 +1,8 @@ #!/bin/sh +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e diff --git a/scripts/public-build.sh b/scripts/public-build.sh index 20bf44b57..bd1b9c7ea 100755 --- a/scripts/public-build.sh +++ b/scripts/public-build.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. echo "✨ Creating new Flipper release on GitHub..." MAJOR=$(curl -x fwdproxy:8080 --silent https://raw.githubusercontent.com/facebook/flipper/master/package.json | jq -r '.version' | sed -E 's/[0-9]+$//g') diff --git a/scripts/publish-android-release.sh b/scripts/publish-android-release.sh index f1222f6f2..6190c26f3 100755 --- a/scripts/publish-android-release.sh +++ b/scripts/publish-android-release.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" diff --git a/scripts/publish-android-snapshot.sh b/scripts/publish-android-snapshot.sh index 185daa2c3..c7645dc48 100755 --- a/scripts/publish-android-snapshot.sh +++ b/scripts/publish-android-snapshot.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" diff --git a/scripts/push-new-github-tag.sh b/scripts/push-new-github-tag.sh index be12844af..a0b623681 100644 --- a/scripts/push-new-github-tag.sh +++ b/scripts/push-new-github-tag.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. echo "✨ Creating new Sonar iOS release on GitHub..." diff --git a/scripts/setup-env.sh b/scripts/setup-env.sh index a3882b90e..4f1303820 100755 --- a/scripts/setup-env.sh +++ b/scripts/setup-env.sh @@ -1,4 +1,8 @@ #!/bin/sh +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the LICENSE file +# in the root directory of this source tree. set -e diff --git a/scripts/verify-bintray-upload.hs b/scripts/verify-bintray-upload.hs index 06e5f2f69..eb428743d 100755 --- a/scripts/verify-bintray-upload.hs +++ b/scripts/verify-bintray-upload.hs @@ -1,5 +1,11 @@ #!/usr/bin/env stack -- stack --resolver lts-9.0 --install-ghc runghc --package turtle --package system-filepath --package pseudomacros --package megaparsec --package bifunctors +{- +Copyright (c) Facebook, Inc. and its affiliates. + +This source code is licensed under the MIT license found in the LICENSE file +in the root directory of this source tree. +-} {- diff --git a/xplat/AndroidManifest.xml b/xplat/AndroidManifest.xml index cee657137..316940cfc 100644 --- a/xplat/AndroidManifest.xml +++ b/xplat/AndroidManifest.xml @@ -1,4 +1,11 @@ + + diff --git a/xplat/build.gradle b/xplat/build.gradle index d7557e9a3..623d3b86f 100644 --- a/xplat/build.gradle +++ b/xplat/build.gradle @@ -1,3 +1,10 @@ +/* + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the LICENSE file + * in the root directory of this source tree. + */ + apply plugin: 'com.android.library' android {