Skip to content

Commit

Permalink
add preset
Browse files Browse the repository at this point in the history
  • Loading branch information
MeilCli committed Apr 5, 2020
1 parent 9e01537 commit 06654bb
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package net.meilcli.librarian.plugin.presets

import net.meilcli.librarian.plugin.entities.LibraryGroup

fun bintray() {
PresetGroups += LibraryGroup(
artifacts = listOf("com.jfrog.bintray.gradle:gradle-bintray-plugin"),
name = "gradle-bintray-plugin",
url = "https://github.com/bintray/gradle-bintray-plugin",
author = "JFrog",
description = null,
licenses = null
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package net.meilcli.librarian.plugin.presets

import net.meilcli.librarian.plugin.entities.LibraryGroup

fun junit() {
PresetGroups += LibraryGroup(
artifacts = listOf("junit:junit"),
name = "JUnit",
author = "JUnit Team",
description = null,
url = null,
licenses = null
)
PresetGroups += LibraryGroup(
artifacts = listOf(
"org.junit.jupiter:junit-jupiter-api",
"org.junit.jupiter:junit-jupiter-engine",
"org.junit.jupiter:junit-jupiter-params",
"org.junit.jupiter:junit-jupiter"
),
name = "JUnit",
author = "JUnit Team",
description = null,
url = null,
licenses = null
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ object PresetGroups {
kotlin()
android()
librarian()
junit()
square()
bintray()
}
}

0 comments on commit 06654bb

Please sign in to comment.