You are not subject to the tax on rents. The tax on capital gains is. Read up on it, because ignorance of the law is harmful, and it will be difficult for you to escape from Poland on one leg from the tax office.
Disclaimer: Includes third-party opinions. No financial advice. May include sponsored content.See T&Cs.