1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Move OperatingSystem.ky from under the java plugin to top level.

Since Operating System class will be used by all plugins, it was
preferable to have it in a top level package accessible by all plugins
instead of just the java plugin.

This is part of a bug where the Jvm and JavaInfo also needs moving to
top level packages.
This commit is contained in:
Balachandran Sivakumar 2015-10-08 00:42:08 +05:30
parent 0482e0fcae
commit f31141d3bb
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
package com.beust.kobalt.plugin.java
package com.beust.kobalt
import java.io.File
import java.util.*

View file

@ -1,5 +1,7 @@
package com.beust.kobalt.plugin.java
import com.beust.kobalt.OperatingSystem
import java.io.File
abstract public class JavaInfo {

View file

@ -2,12 +2,13 @@ package com.beust.kobalt.plugin.java
import com.beust.kobalt.misc.KobaltLogger
import com.beust.kobalt.maven.KobaltException
import com.beust.kobalt.OperatingSystem
import java.io.File
import java.io.IOException
import java.util.HashMap
public open class Jvm constructor(
val os: com.beust.kobalt.plugin.java.OperatingSystem,
val os: com.beust.kobalt.OperatingSystem,
var javaBase: File? = null) : JavaInfo(), KobaltLogger {
private var _javaHome: File? = null