File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ Maven:
2727<dependency>
2828 <groupId>io.github.autocomplete1</groupId>
2929 <artifactId>jPowerShell2</artifactId>
30- <version>1.0.3 </version>
30+ <version>1.1.0 </version>
3131 <scope>compile</scope>
3232</dependency>
3333```
3434
3535Gradle:
3636```
37- implementation 'io.github.autocomplete1:jPowerShell2:1.0.3 '
37+ implementation 'io.github.autocomplete1:jPowerShell2:1.1.0 '
3838```
3939
4040Instead, you can direct download the JAR file and add it to your classpath.
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ plugins {
22 id " java"
33 id " signing"
44 id " maven-publish"
5- id " io.github.gradle-nexus.publish-plugin" version " 2.0.0"
65}
76
87group = ' io.github.autocomplete1'
@@ -76,19 +75,6 @@ project.plugins.withType(MavenPublishPlugin).all {
7675 }
7776}
7877
79- nexusPublishing {
80- repositories {
81- sonatype {
82- nexusUrl. set(uri(" https://s01.oss.sonatype.org/service/local/" ))
83- snapshotRepositoryUrl. set(uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/" ))
84- username. set(project. findProperty(" ossrhUsername" )?. toString() ?: System . getenv(" OSSRH_USERNAME" ))
85- password. set(project. findProperty(" ossrhPassword" )?. toString() ?: System . getenv(" OSSRH_PASSWORD" ))
86- }
87- }
88- connectTimeout = Duration . ofMinutes(3 )
89- clientTimeout = Duration . ofMinutes(3 )
90- }
91-
9278publishing {
9379 repositories {
9480 maven {
Original file line number Diff line number Diff line change 1- /*
2- * This file was generated by the Gradle 'init' task.
3- */
1+ pluginManagement {
2+ repositories {
3+ gradlePluginPortal()
4+ }
5+ }
6+
7+ plugins {
8+ id " com.gradleup.nmcp.settings" version " 1.4.3"
9+ }
410
511rootProject. name = ' jPowerShell2'
12+
13+ nmcpSettings {
14+ centralPortal {
15+ username = providers. gradleProperty(" ossrhUsername" ). getOrNull() ?: System . getenv(" OSSRH_USERNAME" )
16+ password = providers. gradleProperty(" ossrhPassword" ). getOrNull() ?: System . getenv(" OSSRH_PASSWORD" )
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments