Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<String> loadRepositoriesFromFile() {
- def repos = []
- new File("input/repositories.txt").eachLine { line ->
- String[] split = line.split()
- BitbucketProject project = new BitbucketProject()
- project.setKey(split[0])
- repos.add(new BitbucketRepository(null, null, split[1], project))
- }
- return repos
- }
Add Comment
Please, Sign In to add comment