diff --git a/compiler/cli/bin/kapt b/compiler/cli/bin/kapt index 29be2add330..510eabba860 100755 --- a/compiler/cli/bin/kapt +++ b/compiler/cli/bin/kapt @@ -1,18 +1,7 @@ #!/usr/bin/env bash -# Copyright 2010-2015 JetBrains s.r.o. -# -# 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. +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. export KOTLIN_TOOL=kotlin-annotation-processing-cli.jar diff --git a/compiler/cli/bin/kapt.bat b/compiler/cli/bin/kapt.bat index 7cd246de65b..6839f592a9d 100644 --- a/compiler/cli/bin/kapt.bat +++ b/compiler/cli/bin/kapt.bat @@ -1,18 +1,7 @@ @echo off -rem Copyright 2010-2015 JetBrains s.r.o. -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. setlocal set _KOTLIN_COMPILER=org.jetbrains.kotlin.kapt.cli.KaptCli diff --git a/compiler/cli/bin/kotlin b/compiler/cli/bin/kotlin index 68a0da47ad9..8bd19228ecd 100755 --- a/compiler/cli/bin/kotlin +++ b/compiler/cli/bin/kotlin @@ -1,18 +1,7 @@ #!/usr/bin/env bash -# Copyright 2010-2015 JetBrains s.r.o. -# -# 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. +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. export KOTLIN_RUNNER=1 diff --git a/compiler/cli/bin/kotlin-dce-js b/compiler/cli/bin/kotlin-dce-js index aa4cfdd952e..552605469b7 100755 --- a/compiler/cli/bin/kotlin-dce-js +++ b/compiler/cli/bin/kotlin-dce-js @@ -1,18 +1,7 @@ #!/usr/bin/env bash -# Copyright 2010-2017 JetBrains s.r.o. -# -# 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. +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. export KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.dce.K2JSDce diff --git a/compiler/cli/bin/kotlin-dce-js.bat b/compiler/cli/bin/kotlin-dce-js.bat index ff6a9ce21c3..1fb2d6c80eb 100644 --- a/compiler/cli/bin/kotlin-dce-js.bat +++ b/compiler/cli/bin/kotlin-dce-js.bat @@ -1,18 +1,7 @@ @echo off -rem Copyright 2010-2015 JetBrains s.r.o. -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. setlocal set _KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.dce.K2JSDce diff --git a/compiler/cli/bin/kotlin.bat b/compiler/cli/bin/kotlin.bat index 4817fa88038..769929eb0d7 100644 --- a/compiler/cli/bin/kotlin.bat +++ b/compiler/cli/bin/kotlin.bat @@ -1,18 +1,7 @@ @echo off -rem Copyright 2010-2015 JetBrains s.r.o. -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. setlocal set _KOTLIN_RUNNER=1 diff --git a/compiler/cli/bin/kotlinc b/compiler/cli/bin/kotlinc index 7f45ac9146e..075fee05aab 100755 --- a/compiler/cli/bin/kotlinc +++ b/compiler/cli/bin/kotlinc @@ -1,13 +1,9 @@ #!/usr/bin/env bash -# -############################################################################## + +# Based on scalac from the Scala distribution # Copyright 2002-2011, LAMP/EPFL -# Copyright 2011-2015, JetBrains -# -# This is free software; see the distribution for copying conditions. -# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. -############################################################################## +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. cygwin=false; case "`uname`" in diff --git a/compiler/cli/bin/kotlinc-js b/compiler/cli/bin/kotlinc-js index 72a04030a1f..1ed7904701d 100755 --- a/compiler/cli/bin/kotlinc-js +++ b/compiler/cli/bin/kotlinc-js @@ -1,18 +1,7 @@ #!/usr/bin/env bash -# Copyright 2010-2015 JetBrains s.r.o. -# -# 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. +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. export KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.K2JSCompiler diff --git a/compiler/cli/bin/kotlinc-js.bat b/compiler/cli/bin/kotlinc-js.bat index 9a549d133ae..b9455926582 100644 --- a/compiler/cli/bin/kotlinc-js.bat +++ b/compiler/cli/bin/kotlinc-js.bat @@ -1,18 +1,7 @@ @echo off -rem Copyright 2010-2015 JetBrains s.r.o. -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. setlocal set _KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.K2JSCompiler diff --git a/compiler/cli/bin/kotlinc-jvm b/compiler/cli/bin/kotlinc-jvm index 9725efa56d7..4ca34f7f4f9 100755 --- a/compiler/cli/bin/kotlinc-jvm +++ b/compiler/cli/bin/kotlinc-jvm @@ -1,18 +1,7 @@ #!/usr/bin/env bash -# Copyright 2010-2015 JetBrains s.r.o. -# -# 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. +# Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. DIR="${BASH_SOURCE[0]%/*}" : ${DIR:="."} diff --git a/compiler/cli/bin/kotlinc-jvm.bat b/compiler/cli/bin/kotlinc-jvm.bat index dd60b1cb786..15690ed68ae 100644 --- a/compiler/cli/bin/kotlinc-jvm.bat +++ b/compiler/cli/bin/kotlinc-jvm.bat @@ -1,17 +1,6 @@ @echo off -rem Copyright 2010-2015 JetBrains s.r.o. -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. call %~dps0kotlinc.bat %* diff --git a/compiler/cli/bin/kotlinc.bat b/compiler/cli/bin/kotlinc.bat index fdcd6af6171..f04efc972fd 100644 --- a/compiler/cli/bin/kotlinc.bat +++ b/compiler/cli/bin/kotlinc.bat @@ -1,13 +1,9 @@ @echo off -rem based on scalac.bat from the Scala distribution -rem ########################################################################## -rem # Copyright 2002-2011, LAMP/EPFL -rem # Copyright 2011-2015, JetBrains -rem # -rem # This is free software; see the distribution for copying conditions. -rem # There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A -rem # PARTICULAR PURPOSE. -rem ########################################################################## + +rem Based on scalac.bat from the Scala distribution +rem Copyright 2002-2011, LAMP/EPFL +rem Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. +rem Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. rem We adopt the following conventions: rem - System/user environment variables start with a letter