playframework / playframework/twirl

Sbt Setting for package name

Open
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:backlog
Dominant language
Scala
Stars
561
Forks
118
Avg merge
1d 15h
Merged PRs (30d)
29

Description

I was looking around for some way to set the package name in the build.sbt file instead of having to rely on the file structure of the templates. It would be nice if you could set a package prefix that would be appended to the beginning of the file structure name.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the build.sbt configuration and the template file-structure handling it invokes. Trace how template paths become package names, then determine where a configurable package prefix belongs. Done means the prefix can be set in build.sbt and is applied consistently without relying only on the template directory structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.