sit-util-bth

SI-Toolkit Build Tool Helper

License

License

GroupId

GroupId

io.sitoolkit.util.bth
ArtifactId

ArtifactId

sit-util-bth
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

sit-util-bth
SI-Toolkit Build Tool Helper
Project URL

Project URL

https://sitoolkit.org/
Source Code Management

Source Code Management

https://github.com/sitoolkit/sit-util-bth.git

Download sit-util-bth

How to add to project

<!-- https://jarcasting.com/artifacts/io.sitoolkit.util.bth/sit-util-bth/ -->
<dependency>
    <groupId>io.sitoolkit.util.bth</groupId>
    <artifactId>sit-util-bth</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.sitoolkit.util.bth/sit-util-bth/
implementation 'io.sitoolkit.util.bth:sit-util-bth:1.1.1'
// https://jarcasting.com/artifacts/io.sitoolkit.util.bth/sit-util-bth/
implementation ("io.sitoolkit.util.bth:sit-util-bth:1.1.1")
'io.sitoolkit.util.bth:sit-util-bth:jar:1.1.1'
<dependency org="io.sitoolkit.util.bth" name="sit-util-bth" rev="1.1.1">
  <artifact name="sit-util-bth" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.sitoolkit.util.bth', module='sit-util-bth', version='1.1.1')
)
libraryDependencies += "io.sitoolkit.util.bth" % "sit-util-bth" % "1.1.1"
[io.sitoolkit.util.bth/sit-util-bth "1.1.1"]

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.9
io.takari : maven-wrapper jar 0.5.5
io.takari : takari-archiver jar 0.1.19
org.slf4j : slf4j-api jar 1.7.28

provided (2)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8
ch.qos.logback : logback-classic jar 1.2.3

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Build Tool Helper

This is Java library to provide following functionality.

  • Maven
    • Install Maven Wrapper to Maven Project.
    • Execute Meven command in dependent Java process.
  • Gradle
    • Execute Gradle command in dependent Java process.

How to Use

Maven

import io.sitoolkit.util.buidtoolhelper.maven.MavenProject;

public class Main {

  public static void main(String[] args) {
    MavenProject
      .load("/path/to/your/maven/project")
      .mvnw("clean", "package")
      .execute();
  }
}

Above program is same with followig commands.

cd /path/to/your/maven/project
mvnw clean package
  • "/path/to/your/maven/project" is the directory which pom.xml exists
  • Maven wrapper will be installed automatically if it isn't.

Gradle

import io.sitoolkit.util.buidtoolhelper.gradle.GradleProject;

public class Main {

  public static void main(String[] args) {
    GradleProject
      .load("/path/to/your/gradle/project")
      .gradlew("clean", "build")
      .execute();
  }
}

Above program is same with followig commands.

cd /path/to/your/gradle/project
gradlew clean build
  • "/path/to/your/gradle/project" is the directory which build.gradle exists
io.sitoolkit.util.bth

SI-Toolkit

Tools for smart system development

Versions

Version
1.1.1
1.1.0
1.0.0
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1