This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
M999JAD
authored and
M999JAD
committed
Oct 8, 2021
1 parent
7081eaf
commit fb8d4c4
Showing
114 changed files
with
44,732 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+691 Bytes
dev.jeka.plugins.sonarqube-sample/.idea/output/production/your/basepackage/Application.class
Binary file not shown.
Binary file added
BIN
+586 Bytes
dev.jeka.plugins.sonarqube-sample/.idea/output/production/your/basepackage/Controller.class
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.95 KB
dev.jeka.plugins.sonarqube-sample/.idea/output/test/your/basepackage/ControllerIT.class
Binary file not shown.
830 changes: 830 additions & 0 deletions
830
dev.jeka.plugins.sonarqube-sample/dev.jeka.plugins.sonarqube-sample.iml
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import dev.jeka.core.api.java.JkJavaVersion; | ||
import dev.jeka.core.api.java.project.JkJavaProject; | ||
import dev.jeka.core.api.system.JkProcess; | ||
import dev.jeka.core.tool.JkClass; | ||
import dev.jeka.core.tool.JkDefClasspath; | ||
import dev.jeka.core.tool.JkDoc; | ||
import dev.jeka.core.tool.JkInit; | ||
import dev.jeka.core.tool.builtins.git.JkPluginGit; | ||
import dev.jeka.core.tool.builtins.jacoco.JkPluginJacoco; | ||
import dev.jeka.plugins.sonarqube.JkPluginSonarqube; | ||
import dev.jeka.plugins.springboot.JkPluginSpringboot; | ||
|
||
@JkDefClasspath("dev.jeka:springboot-plugin:3.0.0.RC10") | ||
@JkDefClasspath("../dev.jeka.plugins.sonarqube/jeka/output/dev.jeka.sonarqube-plugin.jar") | ||
class Build extends JkClass { | ||
|
||
private final JkPluginSpringboot springboot = getPlugin(JkPluginSpringboot.class); | ||
|
||
private final JkPluginGit git = getPlugin(JkPluginGit.class); | ||
|
||
private final JkPluginSonarqube sonarqube = getPlugin(JkPluginSonarqube.class); | ||
|
||
private final JkPluginJacoco jacoco = getPlugin(JkPluginJacoco.class); | ||
|
||
@Override | ||
protected void setup() { | ||
springboot.setSpringbootVersion("2.5.5"); | ||
JkJavaProject javaProject = springboot.javaPlugin().getProject(); | ||
javaProject.simpleFacade().setJavaVersion(JkJavaVersion.V11); | ||
javaProject.simpleFacade() | ||
.setCompileDependencies(deps -> deps | ||
.and("org.springframework.boot:spring-boot-starter-web") | ||
) | ||
.setTestDependencies(deps -> deps | ||
.and("org.springframework.boot:spring-boot-starter-test") | ||
); | ||
javaProject | ||
.getConstruction() | ||
.getCompiler() | ||
.setForkedWithDefaultProcess() | ||
.__ | ||
.__ | ||
.getPublication() | ||
.getMaven() | ||
.setVersion(git.getWrapper().getVersionFromTag()); | ||
sonarqube.provideTestLibs = true; | ||
} | ||
|
||
@JkDoc("Cleans, tests and creates bootable jar.") | ||
public void cleanPack() { | ||
clean(); springboot.javaPlugin().pack(); | ||
sonarqube.run(); | ||
} | ||
|
||
// Clean, compile, test and generate springboot application jar | ||
public static void main(String[] args) { | ||
JkInit.instanceOf(Build.class, args).cleanPack(); | ||
} | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
dev.jeka.plugins.sonarqube-sample/jeka/output/classes/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Manifest-Version: 1.0 | ||
Spring-Boot-Version: 2.5.5 | ||
Implementation-Version: main-SNAPSHOT | ||
|
Binary file added
BIN
+565 Bytes
dev.jeka.plugins.sonarqube-sample/jeka/output/classes/your/basepackage/Application.class
Binary file not shown.
Binary file added
BIN
+490 Bytes
dev.jeka.plugins.sonarqube-sample/jeka/output/classes/your/basepackage/Controller.class
Binary file not shown.
Binary file added
BIN
+387 KB
dev.jeka.plugins.sonarqube-sample/jeka/output/dev.jeka.plugins.sonarqube-sample-javadoc.jar
Binary file not shown.
Binary file added
BIN
+1.9 KB
dev.jeka.plugins.sonarqube-sample/jeka/output/dev.jeka.plugins.sonarqube-sample-original.jar
Binary file not shown.
Binary file added
BIN
+1.12 KB
dev.jeka.plugins.sonarqube-sample/jeka/output/dev.jeka.plugins.sonarqube-sample-sources.jar
Binary file not shown.
Binary file added
BIN
+16.4 MB
dev.jeka.plugins.sonarqube-sample/jeka/output/dev.jeka.plugins.sonarqube-sample.jar
Binary file not shown.
Binary file not shown.
161 changes: 161 additions & 0 deletions
161
dev.jeka.plugins.sonarqube-sample/jeka/output/javadoc/allclasses-index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
<!DOCTYPE HTML> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc (11.0.8) on Thu Sep 30 20:55:33 CEST 2021 --> | ||
<title>All Classes</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="dc.created" content="2021-09-30"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> | ||
<!--[if IE]> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> | ||
<![endif]--> | ||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script> | ||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script> | ||
<script type="text/javascript" src="jquery/jquery-ui.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="All Classes"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
var pathtoroot = "./"; | ||
var useModuleDirectories = true; | ||
loadScripts(document, 'script');</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
<header role="banner"> | ||
<nav role="navigation"> | ||
<div class="fixedNav"> | ||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<div class="topNav"><a id="navbar.top"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | ||
<a id="navbar.top.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="your/basepackage/package-summary.html">Package</a></li> | ||
<li>Class</li> | ||
<li><a href="your/basepackage/package-tree.html">Tree</a></li> | ||
<li><a href="deprecated-list.html">Deprecated</a></li> | ||
<li><a href="index-all.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList" id="allclasses_navbar_top"> | ||
<li><a href="allclasses.html">All Classes</a></li> | ||
</ul> | ||
<ul class="navListSearch"> | ||
<li><label for="search">SEARCH:</label> | ||
<input type="text" id="search" value="search" disabled="disabled"> | ||
<input type="reset" id="reset" value="reset" disabled="disabled"> | ||
</li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_top"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
</div> | ||
<a id="skip.navbar.top"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
</div> | ||
<div class="navPadding"> </div> | ||
<script type="text/javascript"><!-- | ||
$('.navPadding').css('padding-top', $('.fixedNav').css("height")); | ||
//--> | ||
</script> | ||
</nav> | ||
</header> | ||
<main role="main"> | ||
<div class="header"> | ||
<h1 title="All&nbsp;Classes" class="title">All Classes</h1> | ||
</div> | ||
<div class="allClassesContainer"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<table class="typeSummary"> | ||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Class</th> | ||
<th class="colLast" scope="col">Description</th> | ||
</tr> | ||
<tr id="i0" class="altColor"> | ||
<td class="colFirst"><a href="your/basepackage/Application.html" title="class in your.basepackage">Application</a></td> | ||
<th class="colLast" scope="row"> </th> | ||
</tr> | ||
</table> | ||
</li> | ||
</ul> | ||
</div> | ||
</main> | ||
<footer role="contentinfo"> | ||
<nav role="navigation"> | ||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<div class="bottomNav"><a id="navbar.bottom"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | ||
<a id="navbar.bottom.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="your/basepackage/package-summary.html">Package</a></li> | ||
<li>Class</li> | ||
<li><a href="your/basepackage/package-tree.html">Tree</a></li> | ||
<li><a href="deprecated-list.html">Deprecated</a></li> | ||
<li><a href="index-all.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList" id="allclasses_navbar_bottom"> | ||
<li><a href="allclasses.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
</div> | ||
<a id="skip.navbar.bottom"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
</nav> | ||
</footer> | ||
</body> | ||
</html> |
29 changes: 29 additions & 0 deletions
29
dev.jeka.plugins.sonarqube-sample/jeka/output/javadoc/allclasses.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE HTML> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc (11.0.8) on Thu Sep 30 20:55:33 CEST 2021 --> | ||
<title>All Classes</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="dc.created" content="2021-09-30"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> | ||
<!--[if IE]> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> | ||
<![endif]--> | ||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script> | ||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script> | ||
<script type="text/javascript" src="jquery/jquery-ui.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">All Classes</h1> | ||
<main role="main" class="indexContainer"> | ||
<ul> | ||
<li><a href="your/basepackage/Application.html" title="class in your.basepackage">Application</a></li> | ||
</ul> | ||
</main> | ||
</body> | ||
</html> |
Oops, something went wrong.