mirror of https://github.com/sbt/sbt.git
Rename binary form of compiler bridge
This will avoid all clashes between modules that may have the same name as other components of sbt, or two different compiler bridges that would happen to have the same name.
This commit is contained in:
parent
1c4a900ff5
commit
152b040fe3
|
|
@ -96,7 +96,8 @@ private[compiler] class IvyComponentCompiler(compiler: RawCompiler, manager: Com
|
|||
private val buffered = new BufferedLogger(FullLogger(log))
|
||||
|
||||
def apply(): File = {
|
||||
val binID = binaryID(sourcesModule.name)
|
||||
// binID is of the form "org.example-compilerbridge-1.0.0-bin_2.11.7__50.0"
|
||||
val binID = binaryID(s"${sourcesModule.organization}-${sourcesModule.name}-${sourcesModule.revision}")
|
||||
manager.file(binID)(new IfMissing.Define(true, compileAndInstall(binID)))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue