Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinuxPackageMappings in Rpm. Cannot resolve symbol packageMapping for sbt 0.13.15 #1180

Closed
CloseRa opened this issue Dec 17, 2018 · 1 comment
Labels

Comments

@CloseRa
Copy link

CloseRa commented Dec 17, 2018

Hello, there was a problem after upgrading the version sbt 0.13.5 to 0.13.15 and sbt-native-packager 0.8.0-M1 to 1.0.1. Now IntelJ Idea cannot resolve symbol packageMapping.

In the version sbt-native-packager 0.8.0-M1, the packageMapping method was in com.typesafe.sbt.packager.linux.LinuxPlugin. This method is now in com.typesafe.sbt.packager.linux.LinuxMappingDSL and cannot be imported.
Please, help!

image

@muuki88 muuki88 added the rpm label Dec 17, 2018
@muuki88
Copy link
Contributor

muuki88 commented Dec 17, 2018

With 1.x we updated to auto plugins. If you write scala code you need to import the methods explicitly you want to call. In *.sbt files these are available through the autoImport sbt magic.

So

import com.typesafe.sbt.packager.linux.Mapper._

fixes your issue.

@muuki88 muuki88 closed this as completed Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants