Skip to content

Commit

Permalink
Allow build sdk with tools for specific platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Noisyfox committed Dec 20, 2018
1 parent 92d5535 commit 62a0fff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ apply plugin: 'java'
sourceCompatibility = "1.7"
targetCompatibility = "1.7"

tasks.classes.dependsOn ':ext_natj_mac'

if (!rootProject.hasProperty('moe.tools.sdk.win_only')) {
tasks.classes.dependsOn ':ext_natj_mac'
}
tasks.classes.dependsOn ':ext_natj_api'

dependencies {
Expand Down

0 comments on commit 62a0fff

Please sign in to comment.