mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Remove public.
This commit is contained in:
parent
62b193f378
commit
48bbdfd1ff
13 changed files with 21 additions and 31 deletions
|
@ -32,7 +32,7 @@ import javax.inject.Inject
|
|||
* 1) Extract the repos() and plugins() statements in a separate .kt and compile it into preBuildScript.jar.
|
||||
* 2) Actually build the whole Build.kt file after adding to the classpath whatever phase 1 found (plugins, repos)
|
||||
*/
|
||||
public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFiles: List<BuildFile>,
|
||||
class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFiles: List<BuildFile>,
|
||||
@Assisted val pluginInfo: PluginInfo, val files: KFiles, val plugins: Plugins,
|
||||
val dependencyManager: DependencyManager, val pluginProperties: PluginProperties,
|
||||
val executors: KobaltExecutors, val buildScriptUtil: BuildScriptUtil, val settings: KobaltSettings,
|
||||
|
|
|
@ -65,7 +65,7 @@ open class MainModule(val args: Args, val settings: KobaltSettings) : AbstractMo
|
|||
// bindListener(Matchers.any(), object: TypeListener {
|
||||
// override fun <I> hear(typeLiteral: TypeLiteral<I>?, typeEncounter: TypeEncounter<I>?) {
|
||||
// val bean = object: InjectionListener<I> {
|
||||
// override public fun afterInjection(injectee: I) {
|
||||
// override fun afterInjection(injectee: I) {
|
||||
// if (Scopes.isCircularProxy(injectee)) {
|
||||
// println("CYCLE: " + typeLiteral?.getRawType()?.getName());
|
||||
// }
|
||||
|
|
|
@ -72,7 +72,7 @@ class JavaPlugin @Inject constructor(val javaCompiler: JavaCompiler, override va
|
|||
}
|
||||
|
||||
@Directive
|
||||
public fun javaProject(vararg projects: Project, init: Project.() -> Unit): Project {
|
||||
fun javaProject(vararg projects: Project, init: Project.() -> Unit): Project {
|
||||
return Project().apply {
|
||||
warn("javaProject{} is deprecated, please use project{}")
|
||||
init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue