Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Added support for gradle projects #85

Open
wants to merge 106 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
c58d4ae
An attempt on supporting gradle based
RobotHanzo Mar 21, 2021
045895b
Debugging
RobotHanzo Mar 21, 2021
9854808
Debugging
RobotHanzo Mar 21, 2021
d88a845
Debugging
RobotHanzo Mar 21, 2021
869da1e
Debugging
RobotHanzo Mar 21, 2021
1561d20
Switched order for Debugging
RobotHanzo Mar 21, 2021
0601f52
Fixes
RobotHanzo Mar 21, 2021
52e3bdf
Change debugging repo
RobotHanzo Mar 21, 2021
d7bcd66
Changed to repo
RobotHanzo Mar 21, 2021
d3e5c99
Successfully compiled: RobotHanzo/BusyBiscuitBuilderTestRepo:master (1)
Mar 21, 2021
d187827
Make `job` writable
RobotHanzo Mar 21, 2021
fe3861a
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
31c4320
Auto-Formatter
RobotHanzo Mar 21, 2021
acbb250
Make logging work
RobotHanzo Mar 21, 2021
0d35bdb
Require build tool to be specified
RobotHanzo Mar 21, 2021
a5c06f3
fixing
RobotHanzo Mar 21, 2021
39356d8
Fix attempt
RobotHanzo Mar 21, 2021
f8d6acd
debug logs
RobotHanzo Mar 21, 2021
4b9cb97
You gotta resolve()
RobotHanzo Mar 21, 2021
945de76
Failed to compile: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
24d06b6
Escape chars
RobotHanzo Mar 21, 2021
4cfb223
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
28a0d44
Auto-Formatter
RobotHanzo Mar 21, 2021
c870374
Force recompile
RobotHanzo Mar 21, 2021
3283314
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
ba488dd
Failed to compile: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
a903277
JS outdated
RobotHanzo Mar 21, 2021
8636e87
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
0d593d5
Force recompiling
RobotHanzo Mar 21, 2021
556b742
Failed to compile: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
4c0f87d
ABS path
RobotHanzo Mar 21, 2021
f9dad25
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
2dd9ca9
Force recomp.
RobotHanzo Mar 21, 2021
053b96d
Failed to compile: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
35cfd93
attempt
RobotHanzo Mar 21, 2021
ee3d2ec
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
3dd23c9
force rec.
RobotHanzo Mar 21, 2021
c4e29a7
Failed to compile: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
a938d97
grant perms
RobotHanzo Mar 21, 2021
98e92c2
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
27c83c0
f. rec
RobotHanzo Mar 21, 2021
d0fc4c8
Auto-Formatter
RobotHanzo Mar 21, 2021
3e8f3da
Check
RobotHanzo Mar 21, 2021
2a34f12
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
136a07d
Auto-Formatter
RobotHanzo Mar 21, 2021
b9c62ae
fix
RobotHanzo Mar 21, 2021
820502a
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
335814a
use gradle.properties
RobotHanzo Mar 21, 2021
4e64eb4
Auto-Formatter
RobotHanzo Mar 21, 2021
55e3293
Fix renaming
RobotHanzo Mar 21, 2021
2df8094
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
ad5afac
Auto-Formatter
RobotHanzo Mar 21, 2021
c11b9ed
Successfully compiled: RobotHanzo/BusyBiscuitBuilderTestRepo:gradle (1)
Mar 21, 2021
8611df9
Restored debugging leftovers
RobotHanzo Mar 21, 2021
1cd2a54
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
1bdf1e2
More leftovers
RobotHanzo Mar 21, 2021
5092e3f
Make the tests compatible
RobotHanzo Mar 21, 2021
2cdd81b
Fixes
RobotHanzo Mar 21, 2021
f8239dc
Separate files
RobotHanzo Mar 21, 2021
704bb80
Typo
RobotHanzo Mar 21, 2021
84d7482
Use jitpack
RobotHanzo Mar 21, 2021
1e7e75a
Creates file if not exists
RobotHanzo Mar 21, 2021
68afe93
Auto-Formatter
RobotHanzo Mar 21, 2021
0a4467f
Give us the logs
RobotHanzo Mar 21, 2021
55bf84c
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo Mar 21, 2021
3253cce
Fix attempt
RobotHanzo Mar 21, 2021
4b1998e
Fix paths
RobotHanzo Mar 21, 2021
fc4ec20
Add prefix
RobotHanzo Mar 21, 2021
c154fe6
settings.gradle generator
RobotHanzo Mar 21, 2021
a6bbb9f
settings.gradle generator
RobotHanzo Mar 21, 2021
92d280b
Another way
RobotHanzo Mar 21, 2021
8d0bb2a
Another way
RobotHanzo Mar 21, 2021
9fdc6b7
Typo sucks
RobotHanzo Mar 21, 2021
213801d
Attempt on copying TestMaven.js for test
RobotHanzo Mar 21, 2021
5b1a102
import the stuff
RobotHanzo Mar 21, 2021
c5208ce
Ensure folder exists
RobotHanzo Mar 21, 2021
080fc26
New lines fixed
RobotHanzo Mar 21, 2021
e584720
New lines fixed
RobotHanzo Mar 21, 2021
3f253b2
No async
RobotHanzo Mar 21, 2021
b53f29d
use variable in string
RobotHanzo May 11, 2021
6faf99f
use +x instead of a+x
RobotHanzo May 11, 2021
d74a4f5
variable in string
RobotHanzo May 11, 2021
8427051
default to maven if not specified
RobotHanzo May 11, 2021
f3886da
variable in string
RobotHanzo May 11, 2021
3d452ef
remove the use of having to escape characters
RobotHanzo May 11, 2021
4cba9bf
variable in string
RobotHanzo May 11, 2021
68d33ff
variable in string
RobotHanzo May 11, 2021
e65e172
optimize code
RobotHanzo May 11, 2021
a77f91c
variable in string
RobotHanzo May 11, 2021
05d5491
dont need extra comparision
RobotHanzo May 11, 2021
655845d
variable in string
RobotHanzo May 11, 2021
f840689
default to maven if not specified
RobotHanzo May 11, 2021
2dddef1
dont need extra comparision
RobotHanzo May 11, 2021
60447da
default to maven if not specified
RobotHanzo May 11, 2021
8ca676f
Auto-Formatter
RobotHanzo May 11, 2021
65f7791
default to maven
RobotHanzo May 11, 2021
45ae4c2
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo May 11, 2021
cc1d1e4
fixes
RobotHanzo May 11, 2021
3ef9b3e
optimized if
RobotHanzo May 11, 2021
9fff35f
Auto-Formatter
RobotHanzo May 11, 2021
e7802b5
node version issues
RobotHanzo May 11, 2021
43885c9
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
RobotHanzo May 11, 2021
7577454
actual fix
RobotHanzo May 11, 2021
b54a187
node 12 doesnt support many things
RobotHanzo May 11, 2021
86c9a6d
use the old way to ensure everything works
RobotHanzo May 11, 2021
9676202
Merge branch 'TheBusyBiscuit:gh-pages' into gh-pages
RobotHanzo May 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Maven Builds Server
# Maven and Gradle Builds Server
This is the repository of the backend for my builds-page.
The page can be found here: https://thebusybiscuit.github.io/builds/

This kinda serves as a "Continous Integration/Deployment" Service for Maven Projects which utilises static GitHub Pages.
This kinda serves as a "Continous Integration/Deployment" Service for Maven and Gradle Projects which utilises static GitHub Pages.

# Status
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=TheBusyBiscuit_builds&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=TheBusyBiscuit_builds)
Expand All @@ -26,10 +26,11 @@ After that it will proceed to step 2.<br>

### 2. Cloning
After we established that our repository is out of date, this program will ```git clone``` said repository.<br>
It will also locate it's pom.xml file and set the version to "DEV - $id (git $commit)".<br>
It will also locate it's `pom.xml` or `gradle.properties` file and set the version to "DEV - $id (git $commit)".<br>

### 3. Compiling
This is the easiest step, the program just runs ```mvn clean package -B``` to compile our Maven Project.<br>
If a Gradle project is detected, the program runs ```gradlew build``` to compile our Gradle Project.<br>
It will also catch the state (Success / Failure).<br>
If you enabled Sonar-Integration for this project, then it will also run a sonar-scan on the repository.<br>

Expand Down Expand Up @@ -62,7 +63,7 @@ Note that many of these guidelines are requirements of technical nature.

1. They must be publicly available on GitHub and Open-Source.
2. They must have a valid `LICENSE` file with a permissive Open-Source license (e.g. MIT, Apache or GNU GPL or similar).
3. They must have a valid `pom.xml` file.
3. They must have a valid `pom.xml` or `gradle.properties` file.
4. They are not allowed to force auto-updates on people without providing an option to disable it.

### Example
Expand All @@ -73,10 +74,12 @@ Note that many of these guidelines are requirements of technical nature.
// Some repositories support the usage of sonar-scanner, custom repositories cannot have this feature though (yet)
"sonar": {
"enabled": false
},
// What the builds will be prefixed with. "DEV" would make builds like "CoolAddon - DEV 1 (githash)"
},
"options": {
"prefix": "DEV"
// What the builds will be prefixed with. "DEV" would make builds like "CoolAddon - DEV 1 (githash)"
"prefix": "DEV",
// What type of build tool will be used, must be "maven" or "gradle"
"buildTool": "maven"
},
// What your addon supports/depends on. The number key indicates the minium build.
// You can list any text or even links here.
Expand Down
Loading