Skip to content

Commit 9849f7b

Browse files
committed
change settings for gitlab repo
1 parent b84273f commit 9849f7b

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

key/build.gradle

+12-4
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,20 @@ subprojects {
231231
}
232232
repositories {
233233
maven {
234-
name = "GitHubPackages"
235-
url = uri("https://maven.pkg.github.com/KeYProject/key")
236-
credentials {
234+
name = "GitlabPackages"
235+
//url = uri("https://maven.pkg.github.com/KeYProject/key")
236+
url "https://git.key-project.org/api/v4/projects/35/packages/maven"
237+
credentials(HttpHeaderCredentials) {
238+
name = 'Private-Token'
239+
value = System.getenv("TOKEN")
240+
}
241+
authentication {
242+
header(HttpHeaderAuthentication)
243+
}
244+
/*credentials {
237245
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
238246
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
239-
}
247+
}*/
240248
}
241249
}
242250
}

key/key.core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ compileJavacc {
3939
doLast {
4040
// Some manual overwriting of Token files needed
4141
copy {
42-
from("src/main/javacc/de/uka/ilkd//parser/schemajava/Token.java")
42+
from("src/main/javacc/de/uka/ilkd/key/parser/schemajava/Token.java")
4343
into "$javaCCOutputDirMain/de/uka/ilkd/key/parser/schemajava/"
4444
}
4545
copy {

key/scripts/mvndeploy/deploy.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
DEPLOYURL=https://maven.pkg.github.com/KeYProject/key
1+
# PROJECT 53 = key-public/key
2+
DEPLOYURL=https://git.key-project.org/api/v4/projects/35/packages/maven
23

34
MVNDEPLOY="mvn -s settings.xml deploy:deploy-file -DrepositoryId=gpr -Durl=$DEPLOYURL"
45

56

67
# recoderkey
7-
# $MVNDEPLOY -DpomFile=recoderKey.pom.xml -Dfile=../../key.core/lib/recoderkey.jar
8+
$MVNDEPLOY -DpomFile=recoderKey.pom.xml -Dfile=../../key.core/lib/recoderkey.jar
89

910
# docking-frames-core
1011
#$MVNDEPLOY -DpomFile=docking-frames-core.pom.xml -Dfile=../../key.ui/lib/docking-frames-core.jar
1112

12-
$MVNDEPLOY -DpomFile=docking-frames-common.pom.xml -Dfile=../../key.ui/lib/docking-frames-common.jar
13+
# docking-frames-common
14+
#$MVNDEPLOY -DpomFile=docking-frames-common.pom.xml -Dfile=../../key.ui/lib/docking-frames-common.jar

key/scripts/mvndeploy/settings.xml

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
<servers>
66
<server>
77
<id>gpr</id>
8-
<username>wadoon</username>
9-
<password>17f82842578a76ba27a29fd5f6f34a68b5a266ee</password>
8+
<configuration>
9+
<httpHeaders>
10+
<property>
11+
<name>Private-Token</name>
12+
<value>Lk6PZsfupdf4jYZRvqKS</value>
13+
</property>
14+
</httpHeaders>
15+
</configuration>
1016
</server>
1117
</servers>
1218
</settings>

0 commit comments

Comments
 (0)