Split shared: Remove Helper0
Reason: not used.
This commit is contained in:
committed by
Ilya Matveev
parent
54f896ed2e
commit
01b1734177
-21
@@ -1,21 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
||||||
* that can be found in the LICENSE file.
|
|
||||||
*/
|
|
||||||
|
|
||||||
//
|
|
||||||
// Example startup helper for Kotlin/Native compiler. Compile to JAR and add it to
|
|
||||||
// Kotlin/Native classpath - it will get loaded and executed automatically.
|
|
||||||
//
|
|
||||||
package org.jetbrains.kotlin.konan.util
|
|
||||||
|
|
||||||
import java.util.*
|
|
||||||
|
|
||||||
// Name it Helper0 so that it get loaded.
|
|
||||||
class Helper0Disabled(val dependenciesDir: String,
|
|
||||||
val properties: Properties,
|
|
||||||
val dependencies: List<String>) : Runnable {
|
|
||||||
override fun run() {
|
|
||||||
println("Running helper for $dependenciesDir, $properties, $dependencies")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.jetbrains.kotlin.konan.util
|
|
||||||
|
|
||||||
import java.io.File
|
|
||||||
import java.util.*
|
|
||||||
|
|
||||||
class Helper0(val dependenciesDir: String,
|
|
||||||
val properties: Properties,
|
|
||||||
val dependencies: List<String>): Runnable {
|
|
||||||
|
|
||||||
override fun run() {
|
|
||||||
DependencyProcessor(File(dependenciesDir),
|
|
||||||
properties,
|
|
||||||
dependencies,
|
|
||||||
properties.getProperty("dependenciesUrl", "https://download.jetbrains.com/kotlin/native")
|
|
||||||
).run()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user