Skip to content

Commit 5bb16bb

Browse files
committed
1. Made 'backport' dependency to be published by Jitpack as it's required by j2v8-debugger
2. Move group name to the gradle.properties variable and update it to match group id created by JitPack. 3. Move definition of version/group name to the top-level gradle.properties and build.gradle
1 parent 864bcb3 commit 5bb16bb

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@ buildscript {
2121
}
2222

2323
allprojects {
24+
version = VERSION_NAME
25+
2426
repositories {
2527
google()
2628
jcenter()
2729
}
2830
}
2931

32+
subprojects {
33+
group = GROUP_NAME
34+
}
35+
3036
task clean(type: Delete) {
3137
delete rootProject.buildDir
3238
}

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ org.gradle.jvmargs=-Xmx1536m
1111
# This option should only be used with decoupled projects. More details, visit
1212
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1313
# org.gradle.parallel=true
14+
15+
#publishing settings for Gradle build script
16+
VERSION_NAME=0.1.2-SNAPSHOT
17+
#make group name of local build to be the same as by JitPack builds
18+
GROUP_NAME=com.github.AlexTrotsenko

j2v8-debugger/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'com.github.dcendents.android-maven'
44

5-
group = 'com.alextrotsenko.j2v8-debugger'
6-
version = VERSION_NAME
7-
85
android {
96
compileSdkVersion 28
107

j2v8-debugger/gradle.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

j2v8backport/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apply plugin: 'java-library'
22
apply plugin: 'kotlin'
3+
apply plugin: 'maven'
34

45

56
dependencies {

0 commit comments

Comments
 (0)