Skip to content

Commit 3a48feb

Browse files
committed
v0.0.10.
1 parent c8f3a41 commit 3a48feb

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ The format is based on [Keep a Changelog][Keep a Changelog], and this project ad
1414

1515
### Removed
1616

17+
## [0.0.10] - 2021-04-10
18+
19+
### Changed
20+
21+
- Updated `build.gradle`.
22+
1723
## [0.0.9] - 2021-04-10
1824

1925
### Changed
@@ -109,7 +115,8 @@ The format is based on [Keep a Changelog][Keep a Changelog], and this project ad
109115
[Semantic Versioning]: https://semver.org/
110116

111117
<!-- Versions -->
112-
[Unreleased]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.9..HEAD
118+
[Unreleased]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.10..HEAD
119+
[0.0.9]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.9..v0.0.10
113120
[0.0.9]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.8..v0.0.9
114121
[0.0.8]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.7..v0.0.8
115122
[0.0.7]: https://github.com/computer-science-engineering/vscode-cse-framework/compare/v0.0.6..v0.0.7

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-cse-framework",
33
"displayName": "cse-framework",
44
"description": "VSCode extension for cse repositories - provides templates, snippets, etc.",
5-
"version": "0.0.9",
5+
"version": "0.0.10",
66
"publisher": "manas-talukdar",
77
"license": "MIT",
88
"repository": {

static-to-copy/build.gradle

+10-12
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,17 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
44
buildscript {
55
repositories {
66
mavenCentral()
7-
jcenter()
8-
}
9-
dependencies {
10-
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.3'
117
}
128
}
139

1410
plugins {
15-
id "org.sonarqube" version "3.1.1"
11+
id "org.sonarqube" version "3.1.1"
12+
id "com.github.nbaztec.coveralls-jacoco" version "1.2.12"
1613
}
1714

1815
repositories {
1916
// https://stackoverflow.com/questions/36029754/force-gradle-to-use-http-instead-of-https
2017
// https://discuss.gradle.org/t/how-to-change-gradle-plugin-portal-from-https-to-http/10847/12
21-
jcenter()
2218
mavenLocal()
2319
mavenCentral()
2420
}
@@ -32,7 +28,6 @@ ext.log4jVersion = '2.14.1'
3228
apply plugin: 'java'
3329
apply plugin: 'eclipse'
3430
apply plugin: 'application'
35-
apply plugin: 'com.github.kt3k.coveralls'
3631

3732
// https://stackoverflow.com/questions/46233314/gradle-android-jacoco-and-junit5
3833
apply plugin: 'jacoco'
@@ -151,8 +146,16 @@ afterEvaluate {
151146
}
152147

153148
check.dependsOn jacocoJupTestReport
149+
150+
coverallsJacoco {
151+
def jacocoJupTestReportTask = project.tasks.getByName('jacocoJupTestReport')
152+
reportPath = "${buildDir}/reports/jacoco/report.xml"
153+
reportSourceSets = files(jacocoJupTestReportTask.sourceDirectories.collect{ it.listFiles() }.flatten())
154+
}
154155
}
155156

157+
// https://github.com/ben-manes/caffeine/blob/master/build.gradle
158+
156159
// https://github.com/codeclimate/test-reporter/issues/243
157160
// task jacocoFixForCodeClimate(type: Copy) {
158161
// from 'build/reports/jacoco/report.xml'
@@ -163,11 +166,6 @@ afterEvaluate {
163166
// filter { line -> line.replaceAll("com/", "webapp/src/main/java/com/") }
164167
// }
165168

166-
// https://github.com/ben-manes/caffeine/blob/master/build.gradle
167-
coveralls {
168-
jacocoReportPath = "${buildDir}/reports/jacoco/report.xml"
169-
}
170-
171169
// https://stackoverflow.com/questions/3963708/gradle-how-to-display-test-results-in-the-console-in-real-time
172170
tasks.withType(Test) {
173171
testLogging {

0 commit comments

Comments
 (0)