Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
ARSnova LMS Connector
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
ARSnova LMS Connector
Commits
2a50aafe
Commit
2a50aafe
authored
May 05, 2014
by
Paul-Christian Volkmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added gradle configuration for artifact publishing
parent
e6433c8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
70 deletions
+82
-70
build.gradle
build.gradle
+26
-15
connector-client/build.gradle
connector-client/build.gradle
+17
-18
connector-model/build.gradle
connector-model/build.gradle
+21
-18
connector-service/build.gradle
connector-service/build.gradle
+18
-19
No files found.
build.gradle
View file @
2a50aafe
subprojects
{
apply
plugin:
'java'
apply
plugin:
'eclipse'
apply
plugin:
'maven-publish'
sourceCompatibility
=
1.7
version
=
'0.50.0-SNAPSHOT'
springVersion
=
'4.0.+'
springSecurityVersion
=
'3.2.+'
repositories
{
mavenCentral
()
mavenLocal
()
mavenCentral
()
mavenLocal
()
}
dependencies
{
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
compile
group:
'org.springframework'
,
name:
'spring-context'
,
version:
springVersion
compile
group:
'org.springframework.security'
,
name:
'spring-security-config'
,
version:
springSecurityVersion
compile
group:
'org.codehaus.jackson'
,
name:
'jackson-mapper-lgpl'
,
version:
'1.9+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
testCompile
group:
'org.springframework'
,
name:
'spring-test'
,
version:
springVersion
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
compile
group:
'org.springframework'
,
name:
'spring-context'
,
version:
springVersion
compile
group:
'org.springframework.security'
,
name:
'spring-security-config'
,
version:
springSecurityVersion
compile
group:
'org.codehaus.jackson'
,
name:
'jackson-mapper-lgpl'
,
version:
'1.9+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
testCompile
group:
'org.springframework'
,
name:
'spring-test'
,
version:
springVersion
}
test
{
systemProperties
'property'
:
'value'
}
test
{
systemProperties
'property'
:
'value'
publishing
{
repositories
{
maven
{
credentials
{
username
mavenUsername
password
mavenPassword
}
url
"https://maven.mni.thm.de/content/repositories/snapshots/"
}
}
}
}
\ No newline at end of file
connector-client/build.gradle
View file @
2a50aafe
jar
{
manifest
{
attributes
'Implementation-Title'
:
'Connector-Client'
,
'Implementation-Version'
:
version
}
manifest
{
attributes
'Implementation-Title'
:
'Connector-Client'
,
'Implementation-Version'
:
version
}
}
repositories
{
mavenCentral
()
}
repositories
{
mavenCentral
()
}
dependencies
{
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
...
...
@@ -14,18 +12,19 @@ dependencies {
compile
group:
'org.springframework'
,
name:
'spring-context'
,
version:
springVersion
compile
group:
'org.springframework'
,
name:
'spring-web'
,
version:
springVersion
compile
group:
'de.thm.arsnova.connector'
,
name:
'connector-model'
,
version:
'0.+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
}
test
{
systemProperties
'property'
:
'value'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
}
uploadArchives
{
repositories
{
flatDir
{
dirs
'repos'
}
}
}
\ No newline at end of file
test
{
systemProperties
'property'
:
'value'
}
publishing
{
publications
{
mavenJava
(
MavenPublication
)
{
groupId
'de.thm.arsnova.connector'
artifactId
'connector-client'
version
version
from
components
.
java
}
}
}
connector-model/build.gradle
View file @
2a50aafe
apply
plugin:
'jaxb'
jar
{
manifest
{
attributes
'Implementation-Title'
:
'Connector-Model'
,
'Implementation-Version'
:
version
}
manifest
{
attributes
'Implementation-Title'
:
'Connector-Model'
,
'Implementation-Version'
:
version
}
}
dependencies
{
jaxb
'com.sun.xml.bind:jaxb-xjc:2.2.4-1'
}
dependencies
{
jaxb
'com.sun.xml.bind:jaxb-xjc:2.2.4-1'
}
buildscript
{
repositories
{
mavenCentral
()
}
dependencies
{
classpath
'no.entitas.gradle.jaxb:gradle-jaxb-plugin:2.0'
}
repositories
{
mavenCentral
()
}
dependencies
{
classpath
'no.entitas.gradle.jaxb:gradle-jaxb-plugin:2.0'
}
}
sourceSets
{
main
{
jaxb
{
srcDir
'src/main/resources/'
}
}
main
{
jaxb
{
srcDir
'src/main/resources/'
}
}
}
publishing
{
publications
{
mavenJava
(
MavenPublication
)
{
groupId
'de.thm.arsnova.connector'
artifactId
'connector-model'
version
version
from
components
.
java
}
}
}
\ No newline at end of file
connector-service/build.gradle
View file @
2a50aafe
...
...
@@ -2,14 +2,12 @@ apply plugin: 'eclipse-wtp'
apply
plugin:
'war'
jar
{
manifest
{
attributes
'Implementation-Title'
:
'Connector-Service'
,
'Implementation-Version'
:
version
}
manifest
{
attributes
'Implementation-Title'
:
'Connector-Service'
,
'Implementation-Version'
:
version
}
}
repositories
{
mavenCentral
()
}
repositories
{
mavenCentral
()
}
dependencies
{
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
...
...
@@ -26,20 +24,21 @@ dependencies {
compile
group:
'cglib'
,
name:
'cglib'
,
version:
'3.0+'
compile
group:
'de.thm.arsnova.connector'
,
name:
'connector-model'
,
version:
'0.+'
compile
group:
'de.thm.arsnova.connector'
,
name:
'connector-client'
,
version:
'0.+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
testCompile
group:
'org.mockito'
,
name:
'mockito-core'
,
version:
'1.9.+'
testCompile
group:
'org.dbunit'
,
name:
'dbunit'
,
version:
'2.4.+'
}
test
{
systemProperties
'property'
:
'value'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
testCompile
group:
'org.mockito'
,
name:
'mockito-core'
,
version:
'1.9.+'
testCompile
group:
'org.dbunit'
,
name:
'dbunit'
,
version:
'2.4.+'
}
uploadArchives
{
repositories
{
flatDir
{
dirs
'repos'
}
}
test
{
systemProperties
'property'
:
'value'
}
publishing
{
publications
{
mavenJava
(
MavenPublication
)
{
groupId
'de.thm.arsnova.connector'
artifactId
'connector-service'
version
version
from
components
.
web
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment