@@ -9,9 +9,9 @@ apply plugin: 'maven'
9
9
apply plugin : ' signing'
10
10
11
11
12
- group = " net.sourceforge .htmlunit"
12
+ group = " org .htmlunit"
13
13
archivesBaseName = " htmlunit-core-js"
14
- version = " 2.70 .0"
14
+ version = " 3.0 .0"
15
15
16
16
17
17
jar {
@@ -56,18 +56,18 @@ dependencies {
56
56
57
57
task generateSources () {
58
58
doLast {
59
- delete(' target/repackaged-rhino/src/net/sourceforge /htmlunit/corejs' )
59
+ delete(' target/repackaged-rhino/src/org /htmlunit/corejs' )
60
60
61
61
copy {
62
- into ' target/repackaged-rhino/src/net/sourceforge /htmlunit/corejs'
62
+ into ' target/repackaged-rhino/src/org /htmlunit/corejs'
63
63
from ' ../htmlunit-rhino-fork/src/org/mozilla'
64
64
from (' ../htmlunit-rhino-fork/toolsrc/org/mozilla' ) {
65
65
include ' javascript/tools/debugger/**/*.java'
66
66
include ' javascript/tools/shell/**/*.java'
67
67
include ' javascript/tools/*.java'
68
68
}
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' ) }
71
71
}
72
72
73
73
delete(' target/rhinoDiff.txt' )
@@ -111,11 +111,11 @@ uploadArchives {
111
111
mavenDeployer {
112
112
beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
113
113
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/" ) {
115
115
authentication(userName : ossrhUsername, password : ossrhPassword)
116
116
}
117
117
118
- snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots/" ) {
118
+ snapshotRepository(url : " https://s01. oss.sonatype.org/content/repositories/snapshots/" ) {
119
119
authentication(userName : ossrhUsername, password : ossrhPassword)
120
120
}
121
121
@@ -125,11 +125,11 @@ uploadArchives {
125
125
root. appendNode(" name" , " HtmlUnit Core JS" )
126
126
127
127
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 /" )
130
130
131
131
root. appendNode(" packaging" , " jar" )
132
- root. appendNode(" url" , " http ://htmlunit.sourceforge.net " )
132
+ root. appendNode(" url" , " https ://www. htmlunit.org " )
133
133
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." )
134
134
135
135
def l = root. appendNode(" licenses" ). appendNode(" license" )
0 commit comments