@@ -9,9 +9,9 @@ apply plugin: 'maven'
99apply plugin : ' signing'
1010
1111
12- group = " net.sourceforge .htmlunit"
12+ group = " org .htmlunit"
1313archivesBaseName = " htmlunit-core-js"
14- version = " 2.70 .0"
14+ version = " 3.0 .0"
1515
1616
1717jar {
@@ -56,18 +56,18 @@ dependencies {
5656
5757task generateSources () {
5858 doLast {
59- delete(' target/repackaged-rhino/src/net/sourceforge /htmlunit/corejs' )
59+ delete(' target/repackaged-rhino/src/org /htmlunit/corejs' )
6060
6161 copy {
62- into ' target/repackaged-rhino/src/net/sourceforge /htmlunit/corejs'
62+ into ' target/repackaged-rhino/src/org /htmlunit/corejs'
6363 from ' ../htmlunit-rhino-fork/src/org/mozilla'
6464 from (' ../htmlunit-rhino-fork/toolsrc/org/mozilla' ) {
6565 include ' javascript/tools/debugger/**/*.java'
6666 include ' javascript/tools/shell/**/*.java'
6767 include ' javascript/tools/*.java'
6868 }
69- filter { line -> line. replaceAll(' org\\ .mozilla' , ' net.sourceforge .htmlunit.corejs' ) }
70- filter { line -> line. replaceAll(' org/mozilla' , ' net/sourceforge /htmlunit/corejs' ) }
69+ filter { line -> line. replaceAll(' org\\ .mozilla' , ' org .htmlunit.corejs' ) }
70+ filter { line -> line. replaceAll(' org/mozilla' , ' org /htmlunit/corejs' ) }
7171 }
7272
7373 delete(' target/rhinoDiff.txt' )
@@ -111,11 +111,11 @@ uploadArchives {
111111 mavenDeployer {
112112 beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
113113
114- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
114+ repository(url : " https://s01. oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
115115 authentication(userName : ossrhUsername, password : ossrhPassword)
116116 }
117117
118- snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots/" ) {
118+ snapshotRepository(url : " https://s01. oss.sonatype.org/content/repositories/snapshots/" ) {
119119 authentication(userName : ossrhUsername, password : ossrhPassword)
120120 }
121121
@@ -125,11 +125,11 @@ uploadArchives {
125125 root. appendNode(" name" , " HtmlUnit Core JS" )
126126
127127 def o = root. appendNode(" organization" )
128- o. appendNode(" name" , " Gargoyle Software Inc. " )
129- o. appendNode(" url" , " http ://www.GargoyleSoftware.com /" )
128+ o. appendNode(" name" , " HtmlUnit " )
129+ o. appendNode(" url" , " https ://www.htmlunit.org /" )
130130
131131 root. appendNode(" packaging" , " jar" )
132- root. appendNode(" url" , " http ://htmlunit.sourceforge.net " )
132+ root. appendNode(" url" , " https ://www. htmlunit.org " )
133133 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." )
134134
135135 def l = root. appendNode(" licenses" ). appendNode(" license" )
0 commit comments