Skip to content

Commit

Permalink
修复 CI 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Jun 27, 2024
1 parent 3ec7010 commit 4130479
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '1.8'
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
92 changes: 46 additions & 46 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,52 +162,52 @@


<profiles>
<profile>
<id>mac-swt</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>linux-swt</id>
<activation>
<os>
<family>linux</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<!-- <profile>-->
<!-- <id>mac-swt</id>-->
<!-- <activation>-->
<!-- <os>-->
<!-- <family>mac</family>-->
<!-- </os>-->
<!-- </activation>-->
<!-- <dependencies>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.swt</groupId>-->
<!-- <artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- </profile>-->
<!-- <profile>-->
<!-- <id>linux-swt</id>-->
<!-- <activation>-->
<!-- <os>-->
<!-- <family>linux</family>-->
<!-- </os>-->
<!-- </activation>-->
<!-- <dependencies>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.swt</groupId>-->
<!-- <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- </profile>-->

<profile>
<id>windows-swt</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<version>4.9</version>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<!-- <profile>-->
<!-- <id>windows-swt</id>-->
<!-- <activation>-->
<!-- <os>-->
<!-- <family>windows</family>-->
<!-- </os>-->
<!-- </activation>-->
<!-- <dependencies>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.swt</groupId>-->
<!-- <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>-->
<!-- <version>4.9</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- </profile>-->
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.biglybt.pif.PluginException;
import com.biglybt.pif.PluginInterface;
import com.biglybt.pif.UnloadablePlugin;
import com.biglybt.pif.dht.mainline.MainlineDHTManager;
import com.biglybt.pif.download.Download;
import com.biglybt.pif.download.DownloadException;
import com.biglybt.pif.download.DownloadStats;
Expand Down

0 comments on commit 4130479

Please sign in to comment.