Skip to content

Commit 5ca4528

Browse files
Define version and group in root build.gradle.
1 parent 41b0686 commit 5ca4528

File tree

5 files changed

+3
-15
lines changed

5 files changed

+3
-15
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Just too many sub projects, so each can reference rootProject.version
2-
version = ob_version
3-
41
buildscript {
52
ext {
63
// Typically, only edit those two:
@@ -42,6 +39,9 @@ buildscript {
4239
}
4340

4441
allprojects {
42+
group = 'io.objectbox'
43+
version = ob_version
44+
4545
repositories {
4646
mavenCentral()
4747
jcenter()

objectbox-java-api/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
apply plugin: 'java'
22

3-
group = 'io.objectbox'
4-
version= rootProject.version
5-
63
sourceCompatibility = JavaVersion.VERSION_1_8
74
targetCompatibility = JavaVersion.VERSION_1_8
85

objectbox-java/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
apply plugin: 'java'
22
apply plugin: "com.github.spotbugs"
33

4-
group = 'io.objectbox'
5-
version= rootProject.version
6-
74
sourceCompatibility = JavaVersion.VERSION_1_8
85
targetCompatibility = JavaVersion.VERSION_1_8
96

objectbox-kotlin/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
group = 'io.objectbox'
2-
version= rootProject.version
3-
41
buildscript {
52
ext.javadocDir = "$buildDir/docs/javadoc"
63
ext.kotlin_version = '1.3.61'

objectbox-rxjava/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
apply plugin: 'java'
22

3-
group = 'io.objectbox'
4-
version= rootProject.version
5-
63
sourceCompatibility = JavaVersion.VERSION_1_8
74
targetCompatibility = JavaVersion.VERSION_1_8
85

0 commit comments

Comments
 (0)