mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 11:07:30 +02:00
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:
@@ -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)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user