Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
configurations {
plain
}

sarosEclipse {
manifest = file('META-INF/MANIFEST.MF')
createBundleJar = true
Expand All @@ -24,17 +28,31 @@ dependencies {
releaseDep files('libs/smackx-3.4.1.jar')

compile configurations.releaseDep
plain configurations.compile
testCompile configurations.testConfig
}

sourceSets.main.java.srcDirs = ['src', 'patches']
sourceSets.test.java.srcDir 'test/junit'

// Jar tasks

task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}

// Jar containing only the core code (the default jar is an osgi bundle
// containing a lib dir with all dependency jars)
task plainJar(type: Jar) {
manifest {
from 'META-INF/MANIFEST.MF'
}
from sourceSets.main.output
classifier = 'plain'
}

artifacts {
testing testJar
plain plainJar
}
2 changes: 1 addition & 1 deletion intellij/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runIde {
}

dependencies {
compile project(':saros.core')
compile project(path: ':saros.core', configuration: 'plain')

compile 'org.easytesting:fest-assert:1.2'
compile 'org.easytesting:fest-reflect:1.2'
Expand Down