Skip to content

Commit 5ba26c6

Browse files
author
Dmitry Zaytsev
committed
Added Maven configuration
1 parent c59b3c2 commit 5ba26c6

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

3+
4+
ext {
5+
versionMajor = "1"
6+
versionMinor = "0"
7+
versionPatch = "1"
8+
}
9+
310
buildscript {
411
ext.kotlin_version = '1.1.2-5'
512
repositories {
@@ -14,7 +21,11 @@ buildscript {
1421
allprojects {
1522
repositories {
1623
jcenter()
24+
mavenCentral()
1725
}
26+
27+
group = 'com.car2go'
28+
version = "${versionMajor}.${versionMinor}.${versionPatch}"
1829
}
1930

2031
task clean(type: Delete) {

endpoint2mock-compiler/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
ext {
5+
name = 'Endpoint2mock Compiler'
6+
artifactId = 'endpoint2mock-compiler'
7+
}
28

39
targetCompatibility = JavaVersion.VERSION_1_7
410
sourceCompatibility = JavaVersion.VERSION_1_7
511

6-
repositories {
7-
mavenCentral()
8-
}
9-
1012
dependencies {
1113
compile project(':endpoint2mock')
1214

endpoint2mock/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
ext {
5+
name = 'Endpoint2mock'
6+
artifactId = 'endpoint2mock'
7+
}
28

39
targetCompatibility = JavaVersion.VERSION_1_7
410
sourceCompatibility = JavaVersion.VERSION_1_7

0 commit comments

Comments
 (0)