diff --git a/README.md b/README.md new file mode 100644 index 0000000..38f7912 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# neo-devpack-java # + +Java artifact for developing smart contracts in Java. Artifact has no other 3th party dependencies. + +## Usage ## + +In your maven pom.xml add dependency. + +```xml + + org.neo + neo-devpack-java + 2.3.0 + +``` +You can use any building system. See please [maven.org](https://search.maven.org/artifact/org.neo/neo-devpack-java/2.3.0/jar). + +## pom.xml example ## + +Whole pom.xml example. + +```xml + + 4.0.0 + org.neo.example + hello-world-smart-contract + 0.0.1-SNAPSHOT + My first smart contract + + + UTF-8 + + + + + org.neo + neo-devpack-java + 2.3.0 + + + +``` + +## Smart contract examples ## + +For more Java smart contract examples please take a look at [examples-java](https://github.com/neo-project/examples-java). \ No newline at end of file diff --git a/pom.xml b/pom.xml index 61e41b4..a2aef73 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,11 @@ UTF-8 1.8 - 3.6.1 + 3.8.0 + 3.0.1 + 3.0.1 + 1.6 + 8ED566FF @@ -60,6 +64,50 @@ src + + org.apache.maven.plugins + maven-gpg-plugin + ${maven.gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + ${key.id} + ${key.id} + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven.source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.javadoc.plugin.version} + + + attach-javadocs + + jar + + + + maven-compiler-plugin ${maven.compiler.plugin.version} @@ -71,4 +119,15 @@ + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + \ No newline at end of file