Skip to content

Commit

Permalink
version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Mar 19, 2023
1 parent 54f192a commit 54cfb99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This part is intended for committer who are packaging a release.
gradlew clean test uploadArchives -i
```

* Go to [Sonatype staging repositories](https://oss.sonatype.org/index.html#stagingRepositories) and process the deploy
* Go to [Sonatype staging repositories](https://s01.oss.sonatype.org/index.html#stagingRepositories) and process the deploy
- select the repository and close it - wait until the close is processed
- release the package and wait until it is processed

Expand Down
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ apply plugin: 'maven'
apply plugin: 'signing'


group = "net.sourceforge.htmlunit"
group = "org.htmlunit"
archivesBaseName = "htmlunit-core-js"
version = "2.70.0"
version = "3.0.0"


jar {
Expand Down Expand Up @@ -56,18 +56,18 @@ dependencies {

task generateSources() {
doLast {
delete('target/repackaged-rhino/src/net/sourceforge/htmlunit/corejs')
delete('target/repackaged-rhino/src/org/htmlunit/corejs')

copy {
into 'target/repackaged-rhino/src/net/sourceforge/htmlunit/corejs'
into 'target/repackaged-rhino/src/org/htmlunit/corejs'
from '../htmlunit-rhino-fork/src/org/mozilla'
from ('../htmlunit-rhino-fork/toolsrc/org/mozilla') {
include 'javascript/tools/debugger/**/*.java'
include 'javascript/tools/shell/**/*.java'
include 'javascript/tools/*.java'
}
filter { line -> line.replaceAll('org\\.mozilla', 'net.sourceforge.htmlunit.corejs') }
filter { line -> line.replaceAll('org/mozilla', 'net/sourceforge/htmlunit/corejs') }
filter { line -> line.replaceAll('org\\.mozilla', 'org.htmlunit.corejs') }
filter { line -> line.replaceAll('org/mozilla', 'org/htmlunit/corejs') }
}

delete('target/rhinoDiff.txt')
Expand Down Expand Up @@ -111,11 +111,11 @@ uploadArchives {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
repository(url: "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}

snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
snapshotRepository(url: "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}

Expand All @@ -125,11 +125,11 @@ uploadArchives {
root.appendNode("name", "HtmlUnit Core JS")

def o = root.appendNode("organization")
o.appendNode("name", "Gargoyle Software Inc.")
o.appendNode("url", "http://www.GargoyleSoftware.com/")
o.appendNode("name", "HtmlUnit")
o.appendNode("url", "https://www.htmlunit.org/")

root.appendNode("packaging", "jar")
root.appendNode("url", "http://htmlunit.sourceforge.net")
root.appendNode("url", "https://www.htmlunit.org")
root.appendNode('description', "HtmlUnit adaptation of Mozilla Rhino Javascript engine for Java. Changes are documented by a diff (rhinoDiff.txt) contained in the generated jar files.")

def l = root.appendNode("licenses").appendNode("license")
Expand Down

0 comments on commit 54cfb99

Please sign in to comment.