mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-04 20:45:52 +01:00
Migrate scm-it module to gradle
This commit is contained in:
committed by
René Pfeuffer
parent
36118c2e2a
commit
3a4a5a9d10
@@ -28,7 +28,8 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'sonia.jgit:org.eclipse.jgit:5.6.1.202002131546-r-scm1'
|
||||
// required by scm-it
|
||||
api 'sonia.jgit:org.eclipse.jgit:5.6.1.202002131546-r-scm1'
|
||||
implementation 'sonia.jgit:org.eclipse.jgit.http.server:5.6.1.202002131546-r-scm1'
|
||||
implementation 'sonia.jgit:org.eclipse.jgit.lfs.server:5.6.1.202002131546-r-scm1'
|
||||
|
||||
@@ -51,3 +52,19 @@ scmPlugin {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
task testJar(type: Jar) {
|
||||
classifier = 'tests'
|
||||
from sourceSets.test.output
|
||||
}
|
||||
|
||||
configurations {
|
||||
tests {
|
||||
canBeConsumed = true
|
||||
canBeResolved = false
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
tests(testJar)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user