Skip to content

Commit

Permalink
use of gradle-plugins 1.2.0
Browse files Browse the repository at this point in the history
=> created agent-cli-impl to split the packaging
from the code
=> can now publish in maven
  • Loading branch information
ypujante committed Nov 28, 2010
1 parent af598e3 commit 714a519
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 17 deletions.
29 changes: 29 additions & 0 deletions agent/org.linkedin.glu.agent-cli-impl/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright 2010-2010 LinkedIn, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

apply plugin: 'groovy'
apply plugin: 'org.linkedin.release'

dependencies {
compile project(':agent:org.linkedin.glu.agent-rest-client')
compile spec.external.restlet

groovy spec.external.groovy

runtime spec.external.commonsCli
runtime spec.external.slf4jLog4j
runtime spec.external.log4j
}
15 changes: 2 additions & 13 deletions agent/org.linkedin.glu.agent-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,12 @@
* the License.
*/

apply plugin: 'groovy'
apply plugin: 'org.linkedin.cmdline'
apply plugin: 'org.linkedin.release'


dependencies {
compile project(':agent:org.linkedin.glu.agent-rest-client')
compile spec.external.restlet

groovy spec.external.groovy

runtime spec.external.commonsCli
runtime spec.external.slf4jLog4j
runtime spec.external.log4j
}

cmdline {
resourcesConfigurations.archives = 'lib'
lib project(':agent:org.linkedin.glu.agent-cli-impl')
}

// customizing package-assemble task to add the keys
Expand Down
4 changes: 2 additions & 2 deletions agent/org.linkedin.glu.agent-server-upgrade/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* the License.
*/
apply plugin: 'org.linkedin.cmdline'
apply plugin: 'java'
apply plugin: 'org.linkedin.release'

dependencies {
compile project(":agent:org.linkedin.glu.agent-server-impl")
lib project(":agent:org.linkedin.glu.agent-server-impl")
}

cmdline {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {
}

dependencies {
classpath 'org.linkedin:org.linkedin.gradle-plugins:1.1.0'
classpath 'org.linkedin:org.linkedin.gradle-plugins:1.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion project-spec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
spec = [
name: 'glu',
group: 'org.linkedin',
version: '1.2.0',
version: '1.3.0',

versions: [
grails: '1.3.5',
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

include ':agent:org.linkedin.glu.agent-api',
':agent:org.linkedin.glu.agent-cli-impl',
':agent:org.linkedin.glu.agent-cli',
':agent:org.linkedin.glu.agent-impl',
':agent:org.linkedin.glu.agent-rest-client',
Expand Down

0 comments on commit 714a519

Please sign in to comment.