Skip to content

Commit

Permalink
Noconnor/moving to maven multimodule project (#56)
Browse files Browse the repository at this point in the history
* Adding module poms

* Adding release plugins

* Adding jacoco

* Removing reference to gradle

Co-authored-by: noconnor <noconnorie@pm.me>
  • Loading branch information
noconnor and noconnor authored Feb 23, 2021
1 parent b0fd9f5 commit 5246e0c
Show file tree
Hide file tree
Showing 18 changed files with 377 additions and 539 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
**/classes/**

**/out/

**/target/**
.gradle

**/*.versionsBackup
**/*.releaseBackup
release.properties
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@ jdk:
before_install:
- pip install --user codecov

# https://stackoverflow.com/questions/38595216/travis-ci-build-failure
install:
./gradlew assemble -x signArchives

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper
mvn clean install -Dgpg.skip

after_success:
- bash <(curl -s https://codecov.io/bash)
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ This library interface was heavily influenced by the interface in the deprecated

## Install Instructions

`JUnitPerf` is available in [maven central](http://bit.ly/2idQDvA)
`JUnitPerf` is available in [maven central](https://search.maven.org/artifact/com.github.noconnor/junitperf/)

To add the latest version of `JunitPerf` to your gradle project add the following line to your build.gradle files dependencies:

`compile 'com.github.noconnor:junitperf:+'`
```
<dependency>
<groupId>com.github.noconnor</groupId>
<artifactId>junitperf</artifactId>
<version>1.17.0</version>
</dependency>
```

<br />

Expand Down Expand Up @@ -369,9 +373,9 @@ public JUnitPerfRule perfTestRule = new JUnitPerfRule(new CustomStatisticsCalcul

## Build Instructions

To compile this project and run tests execute the following command from the root project directory: `./gradlew clean test`
To compile this project and run tests execute the following command from the root project directory: ` mvn clean test`

To generate a library jar execute: `./gradlew clean assemble -x sign` or `./gradlew clean jar`
To generate a library jar execute: `mvn clean package`

**Intellij 14 Setup**

Expand Down
40 changes: 0 additions & 40 deletions build.gradle

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

172 changes: 0 additions & 172 deletions gradlew

This file was deleted.

84 changes: 0 additions & 84 deletions gradlew.bat

This file was deleted.

11 changes: 0 additions & 11 deletions junit4-examples/build.gradle

This file was deleted.

Loading

0 comments on commit 5246e0c

Please sign in to comment.