Skip to content

Commit 0aaf725

Browse files
authored
Add tsaUrl property to SignJar task (#1077)
1 parent c81000f commit 0aaf725

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • src/common/java/net/minecraftforge/gradle/common/tasks

src/common/java/net/minecraftforge/gradle/common/tasks/SignJar.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ public void doTask() throws IOException {
6565
map.put("keypass", getKeyPass().get());
6666
if (getKeyStore().isPresent())
6767
map.put("keyStore", getKeyStore().get());
68+
if (getTsaUrl().isPresent())
69+
map.put("tsaurl", getTsaUrl().get());
6870

6971
getProject().getAnt().invokeMethod("signjar", map);
7072

@@ -165,6 +167,10 @@ private void writeOutputJar(File signedJar, File outputJar, Map<String, Entry<by
165167
@Optional
166168
public abstract Property<String> getKeyStore();
167169

170+
@Input
171+
@Optional
172+
public abstract Property<String> getTsaUrl();
173+
168174
@Override
169175
public PatternFilterable exclude(String... arg0) {
170176
return patternSet.exclude(arg0);

0 commit comments

Comments
 (0)