mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
add magic words to publish the test-contracts jar
This commit is contained in:
parent
5081fcc9a8
commit
fba47256d4
@ -14,9 +14,8 @@ dependencies {
|
||||
// Note: 3rd party CorDapps should remember to include the relevant Finance CorDapp dependencies using `cordapp`
|
||||
// cordapp project(':finance:workflows')
|
||||
// cordapp project(':finance:contracts')
|
||||
cordaCompile project(':core')
|
||||
cordaCompile project(':core')
|
||||
compile project(':confidential-identities')
|
||||
cordapp project(':core')
|
||||
cordapp project(':confidential-identities')
|
||||
|
||||
// For JSON
|
||||
compile "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
|
||||
|
@ -2,7 +2,10 @@ apply plugin: 'kotlin'
|
||||
// Java Persistence API support: create no-arg constructor
|
||||
// see: http://stackoverflow.com/questions/32038177/kotlin-with-jpa-default-constructor-hell
|
||||
apply plugin: 'kotlin-jpa'
|
||||
apply plugin: 'java'
|
||||
apply plugin: CanonicalizerPlugin
|
||||
apply plugin: 'net.corda.plugins.publish-utils'
|
||||
apply plugin: 'com.jfrog.artifactory'
|
||||
|
||||
description 'Corda finance module - testing contracts'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.corda.finance.schemas.test
|
||||
package net.corda.finance.test
|
||||
|
||||
import net.corda.core.contracts.MAX_ISSUER_REF_SIZE
|
||||
import net.corda.core.schemas.MappedSchema
|
@ -1,4 +1,4 @@
|
||||
package net.corda.finance.schemas.test
|
||||
package net.corda.finance.test
|
||||
|
||||
import net.corda.core.identity.AbstractParty
|
||||
import net.corda.core.schemas.CommonSchemaV1
|
@ -1,4 +1,4 @@
|
||||
package net.corda.finance.schemas.test
|
||||
package net.corda.finance.test
|
||||
|
||||
import net.corda.core.contracts.MAX_ISSUER_REF_SIZE
|
||||
import net.corda.core.identity.AbstractParty
|
@ -1,4 +1,4 @@
|
||||
package net.corda.finance.schemas.test
|
||||
package net.corda.finance.test
|
||||
|
||||
import net.corda.core.contracts.MAX_ISSUER_REF_SIZE
|
||||
import net.corda.core.schemas.MappedSchema
|
@ -1,4 +1,4 @@
|
||||
package net.corda.finance.schemas.test
|
||||
package net.corda.finance.test
|
||||
|
||||
import net.corda.core.contracts.MAX_ISSUER_REF_SIZE
|
||||
import net.corda.core.identity.AbstractParty
|
@ -23,7 +23,7 @@ import net.corda.core.node.services.vault.AttachmentQueryCriteria.AttachmentsQue
|
||||
import net.corda.finance.contracts.DealState;
|
||||
import net.corda.finance.contracts.asset.Cash;
|
||||
import net.corda.finance.schemas.CashSchemaV1;
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV2;
|
||||
import net.corda.finance.test.SampleCashSchemaV2;
|
||||
import net.corda.node.services.api.IdentityServiceInternal;
|
||||
import net.corda.node.services.persistence.NodeAttachmentService;
|
||||
import net.corda.nodeapi.internal.persistence.CordaPersistence;
|
||||
|
@ -9,9 +9,9 @@ import net.corda.core.schemas.PersistentState
|
||||
import net.corda.core.schemas.QueryableState
|
||||
import net.corda.core.transactions.LedgerTransaction
|
||||
import net.corda.finance.contracts.asset.OnLedgerAsset
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV1
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV2
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV3
|
||||
import net.corda.finance.test.SampleCashSchemaV1
|
||||
import net.corda.finance.test.SampleCashSchemaV2
|
||||
import net.corda.finance.test.SampleCashSchemaV3
|
||||
import net.corda.finance.utils.sumCash
|
||||
import net.corda.finance.utils.sumCashOrNull
|
||||
import net.corda.finance.utils.sumCashOrZero
|
||||
|
@ -25,9 +25,9 @@ import net.corda.finance.SWISS_FRANCS
|
||||
import net.corda.finance.contracts.asset.Cash
|
||||
import net.corda.finance.contracts.asset.test.DummyFungibleContract
|
||||
import net.corda.finance.schemas.CashSchemaV1
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV1
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV2
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV3
|
||||
import net.corda.finance.test.SampleCashSchemaV1
|
||||
import net.corda.finance.test.SampleCashSchemaV2
|
||||
import net.corda.finance.test.SampleCashSchemaV3
|
||||
import net.corda.finance.utils.sumCash
|
||||
import net.corda.node.services.api.IdentityServiceInternal
|
||||
import net.corda.node.services.api.WritableTransactionStorage
|
||||
|
@ -6,7 +6,7 @@ import net.corda.core.node.services.vault.*
|
||||
import net.corda.core.node.services.vault.QueryCriteria.*
|
||||
import net.corda.finance.*
|
||||
import net.corda.finance.contracts.asset.Cash
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV3
|
||||
import net.corda.finance.test.SampleCashSchemaV3
|
||||
import net.corda.testing.core.*
|
||||
import net.corda.testing.internal.vault.DummyLinearStateSchemaV1
|
||||
import org.assertj.core.api.Assertions.assertThatThrownBy
|
||||
|
@ -23,8 +23,8 @@ import net.corda.finance.contracts.asset.AbstractCashSelection
|
||||
import net.corda.finance.schemas.CashSchemaV1
|
||||
import net.corda.finance.schemas.CashSchemaV1.PersistentCashState
|
||||
import net.corda.finance.schemas.CommercialPaperSchemaV1
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV2
|
||||
import net.corda.finance.schemas.test.SampleCashSchemaV3
|
||||
import net.corda.finance.test.SampleCashSchemaV2
|
||||
import net.corda.finance.test.SampleCashSchemaV3
|
||||
import net.corda.nodeapi.internal.persistence.CordaPersistence
|
||||
import net.corda.nodeapi.internal.persistence.DatabaseConfig
|
||||
import net.corda.nodeapi.internal.persistence.DatabaseTransaction
|
||||
|
Loading…
Reference in New Issue
Block a user