-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from hendrikebbers/106-fix
Fix for issue 106: Change folder of BIN and ABI artifacts
- Loading branch information
Showing
5 changed files
with
64 additions
and
7 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
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
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
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,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.zuehlke.bc</groupId> | ||
<artifactId>project-to-test</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Mojo Test Project</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.web3j</groupId> | ||
<artifactId>web3j-maven-plugin</artifactId> | ||
<version>4.8.7</version> | ||
<configuration> | ||
<soliditySourceFiles> | ||
<directory>src/test/resources/issue-106</directory> | ||
<includes> | ||
<include>**/*.sol</include> | ||
</includes> | ||
</soliditySourceFiles> | ||
<outputFormat>java,abi,bin</outputFormat> | ||
<packageName>com.sample.generated</packageName> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
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,10 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
pragma solidity >=0.8.1 < 0.9.0; | ||
|
||
|
||
library Sample { | ||
function convert(uint amount, uint conversionRate) pure public returns (uint convertedAmount) | ||
{ | ||
return amount * conversionRate; | ||
} | ||
} |