Skip to content

Commit

Permalink
Merge pull request #54 from SDPCoachMe/jacoco-2
Browse files Browse the repository at this point in the history
Use local version of jacoco to avoid issues with branch coverage and Jetpack Compose
  • Loading branch information
Luca-Engel committed Mar 24, 2023
2 parents 73fe335 + 0dfc564 commit dbd3998
Show file tree
Hide file tree
Showing 152 changed files with 4,458 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ plugins {
id 'com.google.gms.google-services'
}

jacoco {
toolVersion = "0.8.9-SNAPSHOT"
}

android {
namespace 'com.github.sdpcoachme'
compileSdk 33
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Mar 23 13:51:08 CET 2023
jacoco-maven-plugin-0.8.9-SNAPSHOT.jar>=
jacoco-maven-plugin-0.8.9-SNAPSHOT.pom>=
jacoco-maven-plugin-0.8.9-SNAPSHOT-sources.jar>=
jacoco-maven-plugin-0.8.9-SNAPSHOT-javadoc.jar>=
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009, 2022 Mountainminds GmbH & Co. KG and Contributors
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0
SPDX-License-Identifier: EPL-2.0
Contributors:
Evgeny Mandrikov - initial API and implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.build</artifactId>
<version>0.8.9-SNAPSHOT</version>
<relativePath>../org.jacoco.build</relativePath>
</parent>

<artifactId>jacoco-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<url>https://www.jacoco.org/jacoco/trunk/doc/maven.html</url>

<name>JaCoCo :: Maven Plugin</name>
<description>The JaCoCo Maven Plugin provides the JaCoCo runtime agent to your tests and allows basic report creation.</description>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${project.prerequisites.maven}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${project.prerequisites.maven}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.22</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>file-management</artifactId>
<version>1.2.1</version>
</dependency>

<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-api</artifactId>
<version>${project.prerequisites.maven}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.agent</artifactId>
<classifier>runtime</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.core</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.report</artifactId>
</dependency>

<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.4</version>
<!-- annotations are needed only to build the plugin: -->
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>META-INF</directory>
<targetPath>META-INF</targetPath>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<executions>
<execution>
<id>default-descriptor</id>
<phase>process-classes</phase>
</execution>
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.9-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20230323125108</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<classifier>sources</classifier>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>javadoc</classifier>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
12 changes: 12 additions & 0 deletions libs/org/jacoco/jacoco-maven-plugin/maven-metadata-local.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<versioning>
<latest>0.8.9-SNAPSHOT</latest>
<versions>
<version>0.8.9-SNAPSHOT</version>
</versions>
<lastUpdated>20230323125108</lastUpdated>
</versioning>
</metadata>
10 changes: 10 additions & 0 deletions libs/org/jacoco/maven-metadata-local.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<plugins>
<plugin>
<name>JaCoCo :: Maven Plugin</name>
<prefix>jacoco</prefix>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Mar 23 13:51:08 CET 2023
org.jacoco.agent.rt.test-0.8.9-SNAPSHOT.pom>=
org.jacoco.agent.rt.test-0.8.9-SNAPSHOT.jar>=
org.jacoco.agent.rt.test-0.8.9-SNAPSHOT-sources.jar>=
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent.rt.test</artifactId>
<version>0.8.9-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20230323125108</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<classifier>sources</classifier>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009, 2022 Mountainminds GmbH & Co. KG and Contributors
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0
SPDX-License-Identifier: EPL-2.0
Contributors:
Evgeny Mandrikov - initial API and implementation
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.tests</artifactId>
<version>0.8.9-SNAPSHOT</version>
<relativePath>../org.jacoco.tests</relativePath>
</parent>

<artifactId>org.jacoco.agent.rt.test</artifactId>

<name>JaCoCo :: Test :: Agent RT</name>

<properties>
<jacoco.includes>org.jacoco.agent.rt.*</jacoco.includes>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.agent.rt</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.core.test</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
</project>
11 changes: 11 additions & 0 deletions libs/org/jacoco/org.jacoco.agent.rt.test/maven-metadata-local.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent.rt.test</artifactId>
<versioning>
<versions>
<version>0.8.9-SNAPSHOT</version>
</versions>
<lastUpdated>20230323125108</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Mar 23 13:51:08 CET 2023
org.jacoco.agent.rt-0.8.9-SNAPSHOT-sources.jar>=
org.jacoco.agent.rt-0.8.9-SNAPSHOT.pom>=
org.jacoco.agent.rt-0.8.9-SNAPSHOT.jar>=
org.jacoco.agent.rt-0.8.9-SNAPSHOT-all.jar>=
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent.rt</artifactId>
<version>0.8.9-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20230323125108</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<classifier>sources</classifier>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>all</classifier>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>jar</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>0.8.9-SNAPSHOT</value>
<updated>20230323125108</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit dbd3998

Please sign in to comment.