Skip to content

Commit

Permalink
Bump to 0.2.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
D-D-H committed Dec 18, 2022
1 parent 5d51e01 commit 9c6cbb6
Show file tree
Hide file tree
Showing 19 changed files with 48 additions and 32 deletions.
2 changes: 1 addition & 1 deletion backend/backend.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/

apply from: "$rootDir/gradle/base.gradle"

def COMMON = 'common'
def WORKER = 'worker'
Expand Down
2 changes: 2 additions & 0 deletions backend/common/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
api "org.apache.logging.log4j:log4j-slf4j-impl:2.17.1"

Expand Down
4 changes: 2 additions & 2 deletions backend/gc-log-analyzer/gc-log-analyzer.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/


plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')

Expand Down
2 changes: 2 additions & 0 deletions backend/heap-dump-analyzer/api/api.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/

plugins {
id 'com.diffplug.p2.asmaven' version '3.37.1'
}

apply from: "$rootDir/gradle/base.gradle"

p2AsMaven {
group 'eclipse-deps', {
repoEclipse '4.22'
Expand Down
3 changes: 2 additions & 1 deletion backend/heap-dump-analyzer/hook/hook.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/

plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {

def prefix = "${mat_deps_dir_path}/"
Expand Down
6 changes: 4 additions & 2 deletions backend/heap-dump-analyzer/impl/impl.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

jar {
manifest {
attributes(
Expand All @@ -22,7 +24,7 @@ jar {
"Bundle-Activator": "org.eclipse.jifa.hda.impl.Activator",
"Import-Package":
"org.eclipse.mat.snapshot,org.eclipse.mat.util,org.eclipse.mat.query,org.eclipse.mat.parser.model,org.eclipse.mat.hprof.extension",
"Bundle-Version": "1.0"
"Bundle-Version": project.version
)
}

Expand All @@ -48,5 +50,5 @@ compileJava.dependsOn(':backend:heap-dump-analyzer:hook:hookPreferences')
task installJar(type: Copy, dependsOn: jar) {
from "${buildDir}/libs"
into "${mat_deps_dir_path}"
include '*.jar'
include "*${project.version}.jar"
}
3 changes: 2 additions & 1 deletion backend/heap-dump-analyzer/provider/provider.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/

plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')
implementation project(':backend:heap-dump-analyzer:api')
Expand Down
2 changes: 2 additions & 0 deletions backend/master/master.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plugins {
id 'application'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')

Expand Down
3 changes: 2 additions & 1 deletion backend/thread-dump-analyzer/thread-dump-analyzer.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/

plugins {
id 'java-library'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')

Expand Down
2 changes: 2 additions & 0 deletions backend/worker/worker.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ plugins {
id 'application'
}

apply from: "$rootDir/gradle/java.gradle"

dependencies {
implementation project(':backend:common')
implementation project(':backend:heap-dump-analyzer:api')
Expand Down
1 change: 1 addition & 0 deletions docker/docker.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
apply from: "$rootDir/gradle/base.gradle"

task buildWorkerImage(type: Exec) {
dependsOn ':buildJifa'
Expand Down
2 changes: 2 additions & 0 deletions frontend/frontend.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
apply from: "$rootDir/gradle/base.gradle"

buildscript {
repositories {
maven {
Expand Down
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Jifa",
"version": "0.1.0",
"name": "jifa",
"version": "0.2.0-SNAPSHOT",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
10 changes: 10 additions & 0 deletions gradle/base.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version = '0.2.0-SNAPSHOT'

repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}

apply plugin: 'idea'
1 change: 1 addition & 0 deletions gradle/java.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apply from: "$rootDir/gradle/base.gradle"
20 changes: 4 additions & 16 deletions jifa.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,7 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
allprojects {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
}

subprojects {
apply plugin: 'idea'
version = '1.0'
}
apply from: "$rootDir/gradle/base.gradle"

task deleteSSHConfig(type: Delete) {
delete "${rootProject.rootDir}/backend/config/jifa-ssh-key", "${rootProject.rootDir}/backend/config/jifa-ssh-key.pub"
Expand All @@ -39,20 +27,20 @@ task copySSHConfig(dependsOn: generateSSHConfig, type: Copy) {
}

task copyMasterDist(type: Copy, dependsOn: ':backend:master:build') {
from "${rootProject.rootDir}/backend/master/build/distributions/master-1.0.zip" as Object
from "${rootProject.rootDir}/backend/master/build/distributions/master-${project.version}.zip" as Object
into "${rootProject.rootDir}/artifacts" as Object
}

task copyWorkerDist(type: Copy, dependsOn: ':backend:worker:build') {
from "${rootProject.rootDir}/backend/worker/build/distributions/worker-1.0.zip" as Object
from "${rootProject.rootDir}/backend/worker/build/distributions/worker-${project.version}.zip" as Object
into "${rootProject.rootDir}/artifacts" as Object
}

task compressFrontendDist(type: Zip) {
from "${rootProject.rootDir}/frontend/build"
destinationDirectory = file("${rootProject.rootDir}/artifacts")
archiveBaseName.set('frontend')
archiveVersion.set('1.0')
archiveVersion.set(project.version)
archiveExtension.set('zip')
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
rootProject.name = 'Jifa'
rootProject.name = 'jifa'

include ':backend'
include ':backend:common'
Expand Down

0 comments on commit 9c6cbb6

Please sign in to comment.