Add the whole content of the Apache 2.0 license to the Kotlin repo
This commit is contained in:
@@ -37,7 +37,7 @@ fun main(args: Array<String>) {
|
||||
fun generate(): String {
|
||||
val sb = StringBuilder()
|
||||
val p = Printer(sb)
|
||||
p.println(File("license/LICENSE.txt").readText())
|
||||
p.println(File("license/COPYRIGHT.txt").readText())
|
||||
p.println("@file:Suppress(\"DEPRECATION_ERROR\")")
|
||||
p.println()
|
||||
p.println("package org.jetbrains.kotlin.resolve.constants.evaluate")
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ public class GenerateKeywordStrings {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Printer p = new Printer(sb);
|
||||
|
||||
p.println(FileUtil.loadFile(new File("license/LICENSE.txt")));
|
||||
p.println(FileUtil.loadFile(new File("license/COPYRIGHT.txt")));
|
||||
p.println("package org.jetbrains.kotlin.renderer;");
|
||||
p.println();
|
||||
p.println("import java.util.Arrays;");
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ class GenerateProtoBufCompare {
|
||||
fun generate(): String {
|
||||
val sb = StringBuilder()
|
||||
val p = Printer(sb)
|
||||
p.println(File("license/LICENSE.txt").readText())
|
||||
p.println(File("license/COPYRIGHT.txt").readText())
|
||||
p.println("package org.jetbrains.kotlin.incremental")
|
||||
p.println()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user