-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work in progress new gradle structure
- Loading branch information
Ric Klaren
committed
May 18, 2016
1 parent
1b1cd74
commit d3d62a3
Showing
8 changed files
with
77 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
apply plugin: 'document-combined-archive' | ||
apply plugin: 'release-plugin' | ||
buildscript { | ||
repositories { | ||
mavenLocal() | ||
['releases', 'public'].each { r -> | ||
maven { | ||
url "${nexusBaseUrl}/repositories/${r}" | ||
credentials { | ||
username nexusUserName | ||
password nexusPassword | ||
} | ||
} | ||
} | ||
} | ||
|
||
group = 'com.xebialabs.deployit.temp4test' | ||
dependencies { | ||
classpath "com.xebialabs.gradle.plugins:gradle-xl-defaults-plugin:0.2.3-dev.0.uncommitted+ffaf069" | ||
classpath "com.xebialabs.gradle.plugins:gradle-xl-restdoc-plugin:0.1.0" | ||
classpath "com.xebialabs.gradle.plugins:gradle-xl-dependency-plugin:1.2.2" | ||
} | ||
} | ||
|
||
apply plugin: 'xebialabs.root.opinions' | ||
apply plugin: 'xebialabs.dependency' | ||
|
||
allprojects { | ||
group = 'com.xebialabs.deployit.temp4test' | ||
apply plugin: 'idea' | ||
} | ||
|
||
print "done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// bundled plugin like | ||
apply plugin: 'deployit-plugin' | ||
apply plugin: 'document-generator' | ||
//apply plugin: 'deployit-plugin' | ||
//apply plugin: 'document-generator' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
xebialabs { | ||
dependencies { | ||
versions { | ||
licenseDatabaseVersion="1.0.13" | ||
xlPlatformVersion="2016.1.0-alpha-32" | ||
xlDeployVersion="4.0.0" | ||
cloudPackVersion="4.0.2" | ||
docBaseStyleVersion="1.0.0" | ||
} | ||
dependencyManagement { | ||
versions { | ||
slf4jVersion: "1.7.21" | ||
} | ||
dependencies: [ | ||
{ | ||
group: "org.slf4j" | ||
version: "$slf4jVersion" | ||
artifacts: [ | ||
"jcl-over-slf4j" | ||
"jul-to-slf4j" | ||
"log4j-over-slf4j" | ||
"slf4j-api" | ||
] | ||
} | ||
"org.assertj:assertj-core:3.4.0" | ||
"nl.javadude.t2bus:t2-bus:1.2.1" | ||
"com.google.guava:guava:19.0" | ||
] | ||
// TODO: 2.11 scalaVersion | ||
blacklist: [ "com.typesafe.akka:akka-persistence_2.11" ] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include 'commercial-plugin', 'java-module', 'deployit-plugin' | ||
//include 'commercial-plugin', 'java-module', 'deployit-plugin' | ||
include 'simple-java-module' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
apply plugin: "java" | ||
apply plugin: "xebialabs.opinions" | ||
apply plugin: "xebialabs.artifact" | ||
|
||
// this gets us slf4j-api as added by opinions | ||
// and a guava that's managed upwards | ||
dependencies { | ||
compile "nl.javadude.t2bus:t2-bus" | ||
} |
5 changes: 5 additions & 0 deletions
5
simple-java-module/src/main/java/simple_java_module/Simple.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package simple_java_module; | ||
|
||
public class Simple { | ||
|
||
} |