Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

place node_modules folder at project root level #86

Merged
merged 9 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mainClassName = 'org.web3j.console.Web3j'
applicationName = 'web3j'

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.0'
gtebrean marked this conversation as resolved.
Show resolved Hide resolved
picocli = '4.6.0'
slf4jVersion = '1.7.30'
junitVersion = '5.8.2'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=1.4.1
version=1.4.1-LOCAL
group=org.web3j.console
17 changes: 13 additions & 4 deletions src/main/resources/project/build.gradle.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
}


Expand All @@ -14,23 +14,32 @@ sourceCompatibility = 1.8

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
excludedContracts = ['Mortal']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
12 changes: 9 additions & 3 deletions src/main/resources/project/build.gradleImport.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
gtebrean marked this conversation as resolved.
Show resolved Hide resolved
}


Expand All @@ -21,15 +21,21 @@ web3j {
generatedPackageName = '<package_name>.generated.contracts'
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
17 changes: 13 additions & 4 deletions src/main/resources/project/build.gradleImportJava11.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
gtebrean marked this conversation as resolved.
Show resolved Hide resolved
}

group '<package_name>'
Expand All @@ -13,22 +13,31 @@ sourceCompatibility = 11

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
17 changes: 13 additions & 4 deletions src/main/resources/project/build.gradleJava11.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
gtebrean marked this conversation as resolved.
Show resolved Hide resolved
}

group '<package_name>'
Expand All @@ -13,23 +13,32 @@ sourceCompatibility = 11

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
excludedContracts = ['Mortal']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation("org.web3j:web3j-unit:$web3jVersion")
implementation("org.web3j:web3j-evm:$web3jVersion")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
17 changes: 13 additions & 4 deletions src/main/resources/project/erc20/build.gradleErc20.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
}

group '<package_name>'
Expand All @@ -13,23 +13,32 @@ sourceCompatibility = 1.8

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
includedContracts = ['ERC20Token']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
17 changes: 13 additions & 4 deletions src/main/resources/project/erc20/build.gradleErc20Java11.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
}

group '<package_name>'
Expand All @@ -13,23 +13,32 @@ sourceCompatibility = 11

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
includedContracts = ['ERC20Token']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
17 changes: 13 additions & 4 deletions src/main/resources/project/erc777/build.gradleErc777.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
}

group '<package_name>'
Expand All @@ -13,23 +13,32 @@ sourceCompatibility = 1.8

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
includedContracts = ['ERC777Token']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
logbackVersion = '1.2.3'
klaxonVersion = '5.5'
}

dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
"ch.qos.logback:logback-classic:$logbackVersion",
"com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
id 'org.web3j' version '4.9.0'
}

group '<package_name>'
Expand All @@ -13,19 +13,28 @@ sourceCompatibility = 11

repositories {
mavenCentral()
jcenter()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}

web3j {
generatedPackageName = '<package_name>.generated.contracts'
includedContracts = ['ERC777Token']
}

node {
nodeProjectDir.set(file("$projectDir"))
}

ext {
web3jVersion = '4.8.4'
web3jVersion = '4.9.2'
klaxonVersion = '5.5'
}

dependencies {
implementation "com.beust:klaxon:$klaxonVersion"
implementation "org.web3j:web3j-unit:$web3jVersion"
implementation "org.web3j:web3j-evm:$web3jVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Expand Down