diff --git a/pax-sdk/pom.xml b/pax-sdk/pom.xml index e3ba686..98900d4 100644 --- a/pax-sdk/pom.xml +++ b/pax-sdk/pom.xml @@ -1,19 +1,17 @@ - - 4.0.0 - org.unigrid - pax-sdk - 0.0.1-SNAPSHOT - jar - - UTF-8 - 17 - 17 - - - + + 4.0.0 + org.unigrid + pax-sdk + 0.0.1-SNAPSHOT + jar + + UTF-8 + 17 + 17 + + + com.google.api.grpc proto-google-common-protos @@ -34,7 +32,7 @@ grpc-stub 1.45.0 - + org.bitcoinj bitcoinj-core 0.16.1 @@ -49,7 +47,7 @@ - + jakarta.annotation jakarta.annotation-api 2.0.0 @@ -66,7 +64,7 @@ 4.0.1 jar - + org.jboss.weld.se weld-se-core 5.1.2.Final @@ -78,7 +76,7 @@ 1.18.30 jar - + org.web3j crypto 5.0.0 @@ -90,17 +88,36 @@ - - - + + + + + + + github + GitHub Apache Maven Packages + https://maven.pkg.github.com/unigrid-project/pax-sdk-java + + + + + + github + Unigrid Cosmos SDK Java Apache Maven Packages + https://maven.pkg.github.com/unigrid-project/pax-sdk-java + + + + + kr.motd.maven os-maven-plugin 1.6.2 - - - + + + maven-assembly-plugin 3.6.0 @@ -123,7 +140,7 @@ - + org.apache.maven.plugins maven-antrun-plugin 3.1.0 @@ -170,7 +187,13 @@ + + + + + + + @@ -242,11 +275,15 @@ verbose="false" usetimestamp="true"/> - + io.github.floverfelt find-and-replace-maven-plugin - 1.1.0 + 1.1.0 exec-protobuf @@ -739,10 +776,58 @@ - + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + true + Cosmos SDK Java Unigrid + 1.0 + Unigrid + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins maven-compiler-plugin + 3.12.1 + + 17 + - - + + \ No newline at end of file diff --git a/pax-sdk/src/main/java/module-info.java b/pax-sdk/src/main/java/module-info-backup.java similarity index 80% rename from pax-sdk/src/main/java/module-info.java rename to pax-sdk/src/main/java/module-info-backup.java index b85cd9f..f6b70bd 100644 --- a/pax-sdk/src/main/java/module-info.java +++ b/pax-sdk/src/main/java/module-info-backup.java @@ -10,9 +10,15 @@ * addended copy of the GNU Affero General Public License with this program. If * not, see and * . - */ -module fx { - //requires static lombok; - requires com.google. +module paxsdk { + requires utils; + requires static lombok; + requires protobuf.java.util; + requires grpc.core; + requires grpc.stub; + requires grpc.protobuf; + requires crypto; + requires grpc.api; } + */ \ No newline at end of file diff --git a/pax-sdk/src/main/java/org/unigrid/pax/sdk/cosmos/JsonToProtoObjectUtil.java b/pax-sdk/src/main/java/org/unigrid/pax/sdk/cosmos/JsonToProtoObjectUtil.java index ac607b5..b0ee372 100644 --- a/pax-sdk/src/main/java/org/unigrid/pax/sdk/cosmos/JsonToProtoObjectUtil.java +++ b/pax-sdk/src/main/java/org/unigrid/pax/sdk/cosmos/JsonToProtoObjectUtil.java @@ -43,10 +43,10 @@ public static JsonFormat.TypeRegistry getTypeRegistry() { builder.add(cosmos.staking.v1beta1.Tx.getDescriptor().getMessageTypes()); builder.add(ibc.core.client.v1.Client.getDescriptor().getMessageTypes()); builder.add(ibc.core.client.v1.Tx.getDescriptor().getMessageTypes()); - builder.add(ibc.core.client.v1.QueryOuterClass.getDescriptor().getMessageTypes()); + //builder.add(ibc.core.client.v1.QueryOuterClass.getDescriptor().getMessageTypes()); builder.add(ibc.core.client.v1.Genesis.getDescriptor().getMessageTypes()); builder.add(Tendermint.getDescriptor().getMessageTypes()); - builder.add(ibc.lightclients.solomachine.v1.Solomachine.getDescriptor().getMessageTypes()); + //builder.add(ibc.lightclients.solomachine.v1.Solomachine.getDescriptor().getMessageTypes()); builder.add(ibc.core.channel.v1.Tx.getDescriptor().getMessageTypes()); builder.add(ibc.applications.transfer.v1.Tx.getDescriptor().getMessageTypes()); builder.add(cosmos.gov.v1beta1.Tx.getDescriptor().getMessageTypes());